Skip to content
Snippets Groups Projects
Commit 476167a8 authored by Hauke Petersen's avatar Hauke Petersen
Browse files

cpu: fixed any doxygen warning realated to 'periph'

parent 77b79037
No related branches found
No related tags found
No related merge requests found
...@@ -38,10 +38,15 @@ typedef uint16_t gpio_t; ...@@ -38,10 +38,15 @@ typedef uint16_t gpio_t;
*/ */
#define GPIO_UNDEF (0xffff) #define GPIO_UNDEF (0xffff)
/**
* @brief Definition of pin and port positions in the gpio_t type
* @{
*/
#define GPIO_PORT_SHIFT (8) #define GPIO_PORT_SHIFT (8)
#define GPIO_PORT_MASK (0xff << (GPIO_PORT_SHIFT)) #define GPIO_PORT_MASK (0xff << (GPIO_PORT_SHIFT))
#define GPIO_PIN_SHIFT (0) #define GPIO_PIN_SHIFT (0)
#define GPIO_PIN_MASK (0xff << (GPIO_PIN_SHIFT)) #define GPIO_PIN_MASK (0xff << (GPIO_PIN_SHIFT))
/** @} */
/** /**
* @brief Define a CPU specific GPIO pin generator macro * @brief Define a CPU specific GPIO pin generator macro
......
...@@ -92,7 +92,7 @@ typedef struct { ...@@ -92,7 +92,7 @@ typedef struct {
* @brief PWM device configuration data structure * @brief PWM device configuration data structure
*/ */
typedef struct { typedef struct {
Tcc *dev; /*< TCC device to use */ Tcc *dev; /**< TCC device to use */
pwm_conf_chan_t chan[2]; /**< channel configuration */ pwm_conf_chan_t chan[2]; /**< channel configuration */
} pwm_conf_t; } pwm_conf_t;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment