1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards: fix doxygen @brief in periph.conf

This commit is contained in:
Alexandre Abadie 2017-01-26 18:14:32 +01:00
parent 6a6cbb8d88
commit ebc35a0613
51 changed files with 168 additions and 163 deletions

View File

@ -96,7 +96,7 @@ static const spi_conf_t spi_config[] = {
/** @} */
/**
* @brief I2C (TWI) configuration
* @name I2C (TWI) configuration
* @{
*/
static const i2c_conf_t i2c_config[] = {
@ -118,7 +118,7 @@ static const i2c_conf_t i2c_config[] = {
/** @} */
/**
* @brief ADC configuration
* @name ADC configuration
*
* The configuration consists simply of a list of channels that should be used
* @{

View File

@ -34,7 +34,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
*
* The timer driver only supports the 16-bit timer (Timer1)
* so this is the only one we can use here.
@ -51,7 +51,7 @@ extern "C" {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
*
* Uno has only one UART, look in atmega_common
* This is where magic happens
@ -65,7 +65,7 @@ extern "C" {
/** @} */
/**
* @brief SPI configuration
* @name SPI configuration
*
* The atmega2560 has only one hardware SPI with fixed pin configuration, so all
* we can do here, is to enable or disable it...

View File

@ -33,7 +33,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
*
* The timer driver only supports the four 16-bit timers (Timer1, Timer3,
* Timer4, Timer5), so those are the only onces we can use here.
@ -58,7 +58,7 @@ extern "C" {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
*
* The UART devices have fixed pin mappings, so all we need to do, is to specify
* which devices we would like to use and their corresponding RX interrupts. See
@ -82,7 +82,7 @@ extern "C" {
/** @} */
/**
* @brief SPI configuration
* @name SPI configuration
*
* The atmega2560 has only one hardware SPI with fixed pin configuration, so all
* we can do here, is to enable or disable it...

View File

@ -26,7 +26,7 @@ extern "C" {
#endif
/**
* @brief Clock configuration
* @name Clock configuration
* @{
*/
#define CLOCK_CORECLOCK (72000000U) /* this board runs with 72MHz */
@ -35,28 +35,33 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration, select a number from 1 to 4
* @name Timer configuration, select a number from 1 to 4
* @{
*/
#define TIMER_NUMOF (1U)
/** @} */
/**
* @brief Real Time Clock configuration
* @name Real Time Clock configuration
*/
#define RTC_NUMOF (1)
#define RTC_NUMOF (1U)
/** @} */
/**
* @brief uart configuration
* @name UART configuration
* @{
*/
#define UART_NUMOF (1)
#define UART_NUMOF (1U)
#define UART_0_EN (1)
/** @} */
/**
* @brief SPI configuration
* @name SPI configuration
* @{
*/
#define SPI_NUMOF (1)
#define SPI_NUMOF (1U)
#define SPI_0_EN (1)
/** @} */
#ifdef __cplusplus
}

View File

@ -86,7 +86,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
#define UART_NUMOF (1U)
@ -97,7 +97,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief I2C (TWI) configuration
* @name I2C (TWI) configuration
* @{
*/
static const i2c_conf_t i2c_config[] = {
@ -113,7 +113,7 @@ static const i2c_conf_t i2c_config[] = {
/** @} */
/**
* @brief ADC configuration
* @name ADC configuration
*
* The configuration consists simply of a list of channels that should be used
* @{

View File

@ -34,7 +34,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -55,7 +55,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
*
* The used CC26x0 CPU only supports a single UART device, so all we need to
* configure are the RX and TX pins.

View File

@ -36,7 +36,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
#define TIMER_NUMOF (1U)
@ -47,7 +47,7 @@ extern "C" {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
#define UART_NUMOF (1U)

View File

@ -93,7 +93,7 @@ extern "C" {
/** @} */
/**
* @brief ADC configuration
* @name ADC configuration
* @{
*/
#define ADC_NUMOF (12)

View File

@ -51,7 +51,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -78,7 +78,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {
@ -105,14 +105,14 @@ static const uart_conf_t uart_config[] = {
/** @} */
/**
* @brief ADC configuration
* @name ADC configuration
* @{
*/
#define ADC_NUMOF (0)
/** @} */
/**
* @brief DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)

View File

@ -52,14 +52,14 @@ extern "C" {
/** @} */
/**
* @brief DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -86,7 +86,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {
@ -115,7 +115,7 @@ static const uart_conf_t uart_config[] = {
/** @} */
/**
* @brief SPI configuration
* @name SPI configuration
*
* @note The spi_divtable is auto-generated from
* `cpu/stm32_common/dist/spi_divtable/spi_divtable.c`

View File

@ -28,7 +28,7 @@ extern "C" {
#endif
/**
* @brief SPI configuration
* @name SPI configuration
* @{
*/
static const spi_conf_t spi_config[] = {

View File

@ -28,7 +28,7 @@ extern "C" {
#endif
/**
* @brief SPI configuration
* @name SPI configuration
* @{
*/
static const spi_conf_t spi_config[] = {

View File

@ -50,14 +50,14 @@ extern "C" {
/** @} */
/**
* @brief DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -76,7 +76,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {
@ -109,7 +109,7 @@ static const uart_conf_t uart_config[] = {
/** @} */
/**
* @brief SPI configuration
* @name SPI configuration
*
* @note The spi_divtable is auto-generated from
* `cpu/stm32_common/dist/spi_divtable/spi_divtable.c`

View File

@ -57,14 +57,14 @@ extern "C" {
/** @} */
/**
* @brief DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -91,7 +91,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {

View File

@ -24,7 +24,7 @@ extern "C" {
#endif
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
#define TIMER_NUMOF (1U)
@ -44,7 +44,7 @@ extern "C" {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
#define UART_NUMOF (2U)

View File

@ -86,7 +86,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
#define UART_NUMOF (1U)
@ -97,7 +97,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief I2C (TWI) configuration
* @name I2C (TWI) configuration
* @{
*/
static const i2c_conf_t i2c_config[] = {
@ -113,7 +113,7 @@ static const i2c_conf_t i2c_config[] = {
/** @} */
/**
* @brief ADC configuration
* @name ADC configuration
*
* The configuration consists simply of a list of channels that should be used
* @{

View File

@ -36,7 +36,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
#define TIMER_NUMOF (1U)
@ -47,7 +47,7 @@ extern "C" {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
#define UART_NUMOF (1U)
@ -68,7 +68,7 @@ extern "C" {
/** @} */
/**
* @brief SPI configuration
* @name SPI configuration
* @{
*/
#define SPI_NUMOF (1U)

View File

@ -38,7 +38,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
#define TIMER_NUMOF (1U)
@ -49,7 +49,7 @@ extern "C" {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
#define UART_NUMOF (1U)
@ -70,7 +70,7 @@ extern "C" {
/** @} */
/**
* @brief SPI configuration
* @name SPI configuration
* @{
*/
#define SPI_NUMOF (1U)

View File

@ -35,7 +35,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration, select a number from 1 to 4
* @name Timer configuration, select a number from 1 to 4
* @{
*/
#define TIMER_NUMOF (1U)
@ -81,7 +81,7 @@ extern "C" {
/** @} */
/**
* @brief SPI configuration
* @name SPI configuration
*
* The SPI implementation is very much fixed, so we don't need to configure
* anything besides the mandatory SPI_NUMOF.

View File

@ -49,7 +49,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -111,7 +111,7 @@ static const pwm_conf_t pwm_config[] = {
/** @} */
/**
* @brief DAC configuration
* @name DAC configuration
*
* We need to define the following fields:
* PIN, DAC channel
@ -126,7 +126,7 @@ static const pwm_conf_t pwm_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {
@ -187,7 +187,7 @@ static const uart_conf_t uart_config[] = {
/** @} */
/**
* @brief SPI configuration
* @name SPI configuration
*
* @note The spi_divtable is auto-generated from
* `cpu/stm32_common/dist/spi_divtable/spi_divtable.c`

View File

@ -81,7 +81,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief ADC configuration
* @name ADC configuration
*
* The configuration consists simply of a list of channels that should be used
* @{

View File

@ -39,7 +39,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -66,7 +66,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
#define UART_NUMOF (1U)

View File

@ -119,7 +119,7 @@ static const spi_conf_t spi_config[] = {
/** @} */
/**
* @brief ADC configuration
* @name ADC configuration
*
* The configuration consists simply of a list of channels that should be used
* @{

View File

@ -44,7 +44,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -79,7 +79,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {
@ -142,7 +142,7 @@ static const pwm_conf_t pwm_config[] = {
/** @} */
/**
* @brief ADC configuration
* @name ADC configuration
* @{
*/
#define ADC_CONFIG { \
@ -158,7 +158,7 @@ static const pwm_conf_t pwm_config[] = {
/** @} */
/**
* @brief DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)

View File

@ -44,7 +44,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -80,7 +80,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {
@ -154,7 +154,7 @@ static const pwm_conf_t pwm_config[] = {
/** @} */
/**
* @brief ADC configuration
* @name ADC configuration
* @{
*/
#define ADC_CONFIG { \
@ -170,7 +170,7 @@ static const pwm_conf_t pwm_config[] = {
/** @} */
/**
* @brief DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)

View File

@ -43,7 +43,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -78,7 +78,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {
@ -162,7 +162,7 @@ static const pwm_conf_t pwm_config[] = {
/** @} */
/**
* @brief SPI configuration
* @name SPI configuration
*
* @note The spi_divtable is auto-generated from
* `cpu/stm32_common/dist/spi_divtable/spi_divtable.c`
@ -202,7 +202,7 @@ static const spi_conf_t spi_config[] = {
/** @} */
/**
* @brief ADC configuration
* @name ADC configuration
* @{
*/
#define ADC_CONFIG { \
@ -218,7 +218,7 @@ static const spi_conf_t spi_config[] = {
/** @} */
/**
* @brief DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)

View File

@ -42,7 +42,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -61,7 +61,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {
@ -106,7 +106,7 @@ static const uart_conf_t uart_config[] = {
/**
* @brief SPI configuration
* @name SPI configuration
*
* @note The spi_divtable is auto-generated from
* `cpu/stm32_common/dist/spi_divtable/spi_divtable.c`
@ -189,7 +189,7 @@ static const pwm_conf_t pwm_config[] = {
/** @} */
/**
* @brief ADC configuration
* @name ADC configuration
* @{
*/
#define ADC_CONFIG { \
@ -204,7 +204,7 @@ static const pwm_conf_t pwm_config[] = {
#define ADC_NUMOF (6)
/** @} */
/**
* @brief DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)

View File

@ -53,14 +53,14 @@ extern "C" {
/** @} */
/**
* @brief DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -87,7 +87,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {
@ -160,7 +160,7 @@ static const uart_conf_t uart_config[] = {
/** @} */
/**
* @brief SPI configuration
* @name SPI configuration
*
* @note The spi_divtable is auto-generated from
* `cpu/stm32_common/dist/spi_divtable/spi_divtable.c`

View File

@ -71,7 +71,7 @@ static const pwm_conf_t pwm_config[] = {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -106,7 +106,7 @@ static const timer_conf_t timer_config[] = {
#define TIMER_NUMOF (sizeof(timer_config) / sizeof(timer_config[0]))
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {
@ -167,7 +167,7 @@ static const uart_conf_t uart_config[] = {
/** @} */
/**
* @brief SPI configuration
* @name SPI configuration
*
* @note The spi_divtable is auto-generated from
* `cpu/stm32_common/dist/spi_divtable/spi_divtable.c`
@ -247,7 +247,7 @@ static const spi_conf_t spi_config[] = {
/** @} */
/**
* @brief ADC configuration
* @name ADC configuration
*
* We need to define the following fields:
* PIN, device (ADCx), channel
@ -262,7 +262,7 @@ static const spi_conf_t spi_config[] = {
/** @} */
/**
* @brief DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)

View File

@ -48,14 +48,14 @@ extern "C" {
/** @} */
/**
* @brief DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -74,7 +74,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {
@ -138,7 +138,7 @@ static const pwm_conf_t pwm_config[] = {
/** @} */
/**
* @brief SPI configuration
* @name SPI configuration
*
* @note The spi_divtable is auto-generated from
* `cpu/stm32_common/dist/spi_divtable/spi_divtable.c`

View File

@ -47,21 +47,21 @@ extern "C" {
/** @} */
/**
* @brief DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)
/** @} */
/**
* @brief DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -80,7 +80,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {
@ -122,7 +122,7 @@ static const pwm_conf_t pwm_config[] = {
/** @} */
/**
* @brief SPI configuration
* @name SPI configuration
*
* @note The spi_divtable is auto-generated from
* `cpu/stm32_common/dist/spi_divtable/spi_divtable.c`

View File

@ -49,7 +49,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -68,7 +68,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {
@ -141,7 +141,7 @@ static const pwm_conf_t pwm_config[] = {
/** @} */
/**
* @brief SPI configuration
* @name SPI configuration
*
* @note The spi_divtable is auto-generated from
* `cpu/stm32_common/dist/spi_divtable/spi_divtable.c`
@ -210,14 +210,14 @@ static const spi_conf_t spi_config[] = {
/** @} */
/**
* @brief ADC configuration
* @name ADC configuration
* @{
*/
#define ADC_NUMOF (0)
/** @} */
/**
* @brief DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)

View File

@ -49,7 +49,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -68,7 +68,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {
@ -167,7 +167,7 @@ static const pwm_conf_t pwm_config[] = {
/** @} */
/**
* @brief SPI configuration
* @name SPI configuration
*
* @note The spi_divtable is auto-generated from
* `cpu/stm32_common/dist/spi_divtable/spi_divtable.c`
@ -236,14 +236,14 @@ static const spi_conf_t spi_config[] = {
/** @} */
/**
* @brief ADC configuration
* @name ADC configuration
* @{
*/
#define ADC_NUMOF (0)
/** @} */
/**
* @brief DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)

View File

@ -50,14 +50,14 @@ extern "C" {
/** @} */
/**
* @brief DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -83,7 +83,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {
@ -105,7 +105,7 @@ static const uart_conf_t uart_config[] = {
/** @} */
/**
* @brief SPI configuration
* @name SPI configuration
*
* @note The spi_divtable is auto-generated from
* `cpu/stm32_common/dist/spi_divtable/spi_divtable.c`

View File

@ -42,7 +42,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -61,7 +61,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {
@ -146,7 +146,7 @@ static const pwm_conf_t pwm_config[] = {
/** @} */
/**
* @brief ADC configuration
* @name ADC configuration
* @{
*/
#define ADC_CONFIG { \
@ -161,7 +161,7 @@ static const pwm_conf_t pwm_config[] = {
/** @} */
/**
* @brief DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)

View File

@ -46,7 +46,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -65,7 +65,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {
@ -135,14 +135,14 @@ static const pwm_conf_t pwm_config[] = {
/** @} */
/**
* @brief ADC configuration
* @name ADC configuration
* @{
*/
#define ADC_NUMOF (0)
/** @} */
/**
* @brief DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)

View File

@ -57,14 +57,14 @@ extern "C" {
/** @} */
/**
* @brief DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -91,7 +91,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {

View File

@ -83,7 +83,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief ADC configuration
* @name ADC configuration
*
* The configuration consists simply of a list of channels that should be used
* @{

View File

@ -102,7 +102,7 @@ static const spi_conf_t spi_config[] = {
/** @} */
/**
* @brief ADC configuration
* @name ADC configuration
*
* The configuration consists simply of a list of channels that should be used
* @{

View File

@ -25,7 +25,7 @@ extern "C" {
#endif
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
#define TIMER_NUMOF (1U)
@ -45,7 +45,7 @@ extern "C" {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
#define UART_NUMOF (2U)

View File

@ -49,7 +49,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -67,7 +67,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {

View File

@ -45,7 +45,7 @@
/** @} */
/**
* @brief DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)
@ -59,7 +59,7 @@
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -86,7 +86,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {
@ -106,7 +106,7 @@ static const uart_conf_t uart_config[] = {
/** @} */
/**
* @brief SPI configuration
* @name SPI configuration
*
* @note The spi_divtable is auto-generated from
* `cpu/stm32_common/dist/spi_divtable/spi_divtable.c`

View File

@ -42,7 +42,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -61,7 +61,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {
@ -94,7 +94,7 @@ static const uart_conf_t uart_config[] = {
/** @} */
/**
* @brief ADC configuration
* @name ADC configuration
*
* We need to configure the following values:
* [ pin, channel ]
@ -113,7 +113,7 @@ static const uart_conf_t uart_config[] = {
/** @} */
/**
* @brief DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)

View File

@ -46,7 +46,7 @@ extern "C" {
/** @} */
/**
* @brief DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_CONFIG { \
@ -57,7 +57,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -76,7 +76,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {

View File

@ -50,7 +50,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -77,7 +77,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {
@ -120,7 +120,7 @@ static const uart_conf_t uart_config[] = {
/** @} */
/**
* @brief ADC configuration
* @name ADC configuration
*
* We need to define the following fields:
* PIN, device (ADCx), channel
@ -137,7 +137,7 @@ static const uart_conf_t uart_config[] = {
/** @} */
/**
* @brief DAC configuration
* @name DAC configuration
*
* We need to define the following fields:
* PIN, DAC channel
@ -182,7 +182,7 @@ static const pwm_conf_t pwm_config[] = {
/** @} */
/**
* @brief SPI configuration
* @name SPI configuration
*
* @note The spi_divtable is auto-generated from
* `cpu/stm32_common/dist/spi_divtable/spi_divtable.c`

View File

@ -36,7 +36,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
#define TIMER_NUMOF (1U)
@ -47,7 +47,7 @@ extern "C" {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
#define UART_NUMOF (1U)
@ -68,7 +68,7 @@ extern "C" {
/** @} */
/**
* @brief SPI configuration
* @name SPI configuration
* @{
*/
#define SPI_NUMOF (1U)

View File

@ -33,8 +33,8 @@ extern "C" {
/** @} */
/**
* @brief Timer peripheral configuration
* @brief Timer configuration
* @name Timer peripheral configuration
*
* The ATmega1281 has 6 timers. Timer0 and Timer2 are 8 Bit Timers,
* Timer0 has special uses too and therefore we'll avoid using it.
*
@ -62,7 +62,7 @@ extern "C" {
/**
* @brief UART configuration
* @name UART configuration
*
* The UART devices have fixed pin mappings, so all we need to do, is to specify
* which devices we would like to use and their corresponding RX interrupts. See
@ -89,7 +89,7 @@ extern "C" {
/** @} */
/**
* @brief SPI configuration
* @name SPI configuration
*
* The atmega1281 has only one hardware SPI with fixed pin configuration, so all
* we can do here, is to enable or disable it...

View File

@ -34,7 +34,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
#define TIMER_NUMOF (1U)
@ -53,7 +53,7 @@ extern "C" {
/* @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
#define UART_NUMOF (1U)
@ -78,7 +78,7 @@ extern "C" {
/* @} */
/**
* @brief SPI configuration
* @name SPI configuration
* @{
*/
static const spi_conf_t spi_config[] = {

View File

@ -36,7 +36,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
#define TIMER_NUMOF (1U)
@ -47,7 +47,7 @@ extern "C" {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
#define UART_NUMOF (1U)
@ -68,7 +68,7 @@ extern "C" {
/** @} */
/**
* @brief SPI configuration
* @name SPI configuration
* @{
*/
#define SPI_NUMOF (1U)

View File

@ -100,7 +100,7 @@ static const spi_conf_t spi_config[] = {
/** @} */
/**
* @brief I2C (TWI) configuration
* @name I2C (TWI) configuration
* @{
*/
static const i2c_conf_t i2c_config[] = {
@ -116,7 +116,7 @@ static const i2c_conf_t i2c_config[] = {
/** @} */
/**
* @brief ADC configuration
* @name ADC configuration
*
* The configuration consists simply of a list of channels that should be used
* @{

View File

@ -36,7 +36,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
#define TIMER_NUMOF (1U)
@ -47,7 +47,7 @@ extern "C" {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
#define UART_NUMOF (1U)
@ -68,7 +68,7 @@ extern "C" {
/** @} */
/**
* @brief SPI configuration
* @name SPI configuration
* @{
*/
#define SPI_NUMOF (1U)