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

cpu/sam0_common: added peripheral FREQM configuration declaration

This commit is contained in:
Urs Gompper 2023-11-06 10:03:15 +01:00
parent 6849ef9827
commit f352609c5e

View File

@ -945,6 +945,14 @@ typedef struct {
*/
#define WDT_HAS_INIT (1)
/**
* @brief Frequency meter configuration
*/
typedef struct {
gpio_t pin; /**< GPIO at which the frequency is to be measured */
uint8_t gclk_src; /**< GCLK source select for reference */
} freqm_config_t;
#if defined(REV_DMAC) || DOXYGEN
/**
* @name sam0 DMA peripheral