mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
05f114d0af
- most were trivial - missing group close or open - extra space - no doxygen comment - name commad might open an implicit group this hould also be implicit cosed but does not happen somtimes - crazy: internal declared groups have to be closed internal
61 lines
1.0 KiB
C
61 lines
1.0 KiB
C
/*
|
|
* Copyright (C) 2021 Benjamin Valentin
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
* directory for more details.
|
|
*/
|
|
|
|
/**
|
|
* @ingroup boards_zigduino
|
|
* @{
|
|
*
|
|
* @file
|
|
* @brief Board specific definitions for the Zigduino board.
|
|
*
|
|
* @author Benjamin Valentin <benpicco@googlemail.com>
|
|
*/
|
|
|
|
#ifndef BOARD_H
|
|
#define BOARD_H
|
|
|
|
#include "cpu.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* @name baudrate for STDIO terminal
|
|
*
|
|
* @{
|
|
*/
|
|
#ifndef STDIO_UART_BAUDRATE
|
|
#define STDIO_UART_BAUDRATE (57600U) /**< Sets Baudrate for e.g. Shell */
|
|
#endif
|
|
/** @} */
|
|
|
|
/**
|
|
* @name xtimer configuration values
|
|
* @{
|
|
*/
|
|
#define XTIMER_WIDTH (16)
|
|
#define XTIMER_HZ (250000UL)
|
|
#define XTIMER_BACKOFF (40)
|
|
/** @} */
|
|
|
|
/**
|
|
* @name Grove PIR Motion sensor
|
|
* @{
|
|
*/
|
|
#define PIR_MOTION_PIN GPIO_PIN(PORT_D, 4)
|
|
#define PIR_MOTION_MODE GPIO_IN_PU
|
|
/** @} */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* BOARD_H */
|
|
/** @} */
|