STM8L15x Standard Peripherals Drivers
|
Defines | |
#define | IS_CLK_PERIPHERAL(PERIPHERAL) |
Enumerations | |
enum | CLK_Peripheral_TypeDef { CLK_Peripheral_TIM2 = (uint8_t)0x00, CLK_Peripheral_TIM3 = (uint8_t)0x01, CLK_Peripheral_TIM4 = (uint8_t)0x02, CLK_Peripheral_I2C1 = (uint8_t)0x03, CLK_Peripheral_SPI1 = (uint8_t)0x04, CLK_Peripheral_USART1 = (uint8_t)0x05, CLK_Peripheral_BEEP = (uint8_t)0x06, CLK_Peripheral_DAC = (uint8_t)0x07, CLK_Peripheral_ADC1 = (uint8_t)0x10, CLK_Peripheral_TIM1 = (uint8_t)0x11, CLK_Peripheral_RTC = (uint8_t)0x12, CLK_Peripheral_LCD = (uint8_t)0x13, CLK_Peripheral_DMA1 = (uint8_t)0x14, CLK_Peripheral_COMP = (uint8_t)0x15, CLK_Peripheral_BOOTROM = (uint8_t)0x17, CLK_Peripheral_AES = (uint8_t)0x20, CLK_Peripheral_TIM5 = (uint8_t)0x21, CLK_Peripheral_SPI2 = (uint8_t)0x22, CLK_Peripheral_USART2 = (uint8_t)0x23, CLK_Peripheral_USART3 = (uint8_t)0x24, CLK_Peripheral_CSSLSE = (uint8_t)0x25 } |
Define Documentation
#define IS_CLK_PERIPHERAL | ( | PERIPHERAL | ) |
Value:
(((PERIPHERAL) == CLK_Peripheral_DAC) ||\ ((PERIPHERAL) == CLK_Peripheral_ADC1) ||\ ((PERIPHERAL) == CLK_Peripheral_DMA1) ||\ ((PERIPHERAL) == CLK_Peripheral_RTC) ||\ ((PERIPHERAL) == CLK_Peripheral_LCD) ||\ ((PERIPHERAL) == CLK_Peripheral_COMP) ||\ ((PERIPHERAL) == CLK_Peripheral_TIM1) ||\ ((PERIPHERAL) == CLK_Peripheral_USART1) ||\ ((PERIPHERAL) == CLK_Peripheral_SPI1) ||\ ((PERIPHERAL) == CLK_Peripheral_I2C1) ||\ ((PERIPHERAL) == CLK_Peripheral_TIM4) ||\ ((PERIPHERAL) == CLK_Peripheral_TIM3) ||\ ((PERIPHERAL) == CLK_Peripheral_BEEP) ||\ ((PERIPHERAL) == CLK_Peripheral_BOOTROM) ||\ ((PERIPHERAL) == CLK_Peripheral_AES) ||\ ((PERIPHERAL) == CLK_Peripheral_TIM5) ||\ ((PERIPHERAL) == CLK_Peripheral_SPI2) ||\ ((PERIPHERAL) == CLK_Peripheral_USART2) ||\ ((PERIPHERAL) == CLK_Peripheral_USART3) ||\ ((PERIPHERAL) == CLK_Peripheral_CSSLSE) ||\ ((PERIPHERAL) == CLK_Peripheral_TIM2))
Definition at line 232 of file stm8l15x_clk.h.
Referenced by CLK_PeripheralClockConfig().
Enumeration Type Documentation
Definition at line 208 of file stm8l15x_clk.h.