STM8L15x Standard Peripherals Drivers
|
DMA_Channels_Registers_Reset_Value
Data Structures | |
struct | AES_struct |
AES tiny (AES) More... | |
struct | LCD_struct |
LCD Controller (LCD) More... | |
struct | WWDG_struct |
Window Watchdog (WWDG) More... | |
Modules | |
DMA_Registers_Bits_Definition | |
WWDG_Registers_Reset_Value | |
WWDG_Registers_Bits_Definition | |
LCD_Registers_Reset_Value | |
LCD_Registers_Bits_Definition | |
AES_Registers_Reset_Value | |
AES_Registers_Bits_Definition | |
Defines | |
#define | ADC1 ((ADC_TypeDef *) ADC1_BASE) |
#define | ADC1_BASE (uint16_t)0x5340 |
#define | AES ((AES_TypeDef *) AES_BASE) |
#define | AES_BASE (uint16_t)0x53D0 |
#define | AffBit(VAR, Place, Value) |
#define | AREA 0x00 |
#define | BEEP ((BEEP_TypeDef *) BEEP_BASE) |
#define | BEEP_BASE (uint16_t)0x50F0 |
#define | BitClr(BIT) ( *((unsigned char *) (AREA+(BIT)/8)) &= (~(1<<(7-(BIT)%8))) ) |
#define | BitSet(BIT) ( *((unsigned char *) (AREA+(BIT)/8)) |= (1<<(7-(BIT)%8)) ) |
#define | BitVal(BIT) ( *((unsigned char *) (AREA+(BIT)/8)) & (1<<(7-(BIT)%8)) ) |
#define | BYTE_0(n) ((uint8_t)((n) & (uint8_t)0xFF)) |
#define | BYTE_1(n) ((uint8_t)(BYTE_0((n) >> (uint8_t)8))) |
#define | BYTE_2(n) ((uint8_t)(BYTE_0((n) >> (uint8_t)16))) |
#define | BYTE_3(n) ((uint8_t)(BYTE_0((n) >> (uint8_t)24))) |
#define | CFG ((CFG_TypeDef *) CFG_BASE) |
#define | CFG_BASE (uint16_t)0x7F60 |
#define | ChgBit(VAR, Place) ( (VAR) ^= (uint8_t)((uint8_t)1<<(uint8_t)(Place)) ) |
#define | CLK ((CLK_TypeDef *) CLK_BASE) |
#define | CLK_BASE (uint16_t)0x50C0 |
#define | ClrBit(VAR, Place) ( (VAR) &= (uint8_t)((uint8_t)((uint8_t)1<<(uint8_t)(Place))^(uint8_t)255) ) |
#define | COMP ((COMP_TypeDef *) COMP_BASE) |
#define | COMP_BASE (uint16_t)0x5440 |
#define | CSSLSE ((CSSLSE_TypeDef *) CSSLSE_BASE) |
#define | CSSLSE_BASE (uint16_t)0x5190 |
#define | DAC ((DAC_TypeDef *) DAC_BASE) |
#define | DAC_BASE (uint16_t)0x5380 |
#define | disableInterrupts() __disable_interrupt() |
#define | DM ((DM_TypeDef *) DM_BASE) |
#define | DM_BASE (uint16_t)0x7F90 |
#define | DMA1 ((DMA_TypeDef *) DMA1_BASE) |
#define | DMA1_BASE (uint16_t)0x5070 |
#define | DMA1_Channel0 ((DMA_Channel_TypeDef *) DMA1_Channel0_BASE) |
#define | DMA1_Channel0_BASE (uint16_t)0x5075 |
#define | DMA1_Channel1 ((DMA_Channel_TypeDef *) DMA1_Channel1_BASE) |
#define | DMA1_Channel1_BASE (uint16_t)0x507F |
#define | DMA1_Channel2 ((DMA_Channel_TypeDef *) DMA1_Channel2_BASE) |
#define | DMA1_Channel2_BASE (uint16_t)0x5089 |
#define | DMA1_Channel3 ((DMA_Channel_TypeDef *) DMA1_Channel3_BASE) |
#define | DMA1_Channel3_BASE (uint16_t)0x5093 |
#define | DMA_C3M0EAR_RESET_VALUE ((uint8_t)0x00) |
#define | DMA_C3PARH_RESET_VALUE ((uint8_t)0x40) |
#define | DMA_CCR_RESET_VALUE ((uint8_t)0x00) |
#define | DMA_CM0ARH_RESET_VALUE ((uint8_t)0x00) |
#define | DMA_CM0ARL_RESET_VALUE ((uint8_t)0x00) |
#define | DMA_CNBTR_RESET_VALUE ((uint8_t)0x00) |
#define | DMA_CPARH_RESET_VALUE ((uint8_t)0x52) |
#define | DMA_CPARL_RESET_VALUE ((uint8_t)0x00) |
#define | DMA_CSPR_RESET_VALUE ((uint8_t)0x00) |
#define | enableInterrupts() __enable_interrupt() |
#define | EXTI ((EXTI_TypeDef *) EXTI_BASE) |
#define | EXTI_BASE (uint16_t)0x50A0 |
#define | FLASH ((FLASH_TypeDef *) FLASH_BASE) |
#define | FLASH_BASE (uint16_t)0x5050 |
#define | GPIOA ((GPIO_TypeDef *) GPIOA_BASE) |
#define | GPIOA_BASE (uint16_t)0x5000 |
#define | GPIOB ((GPIO_TypeDef *) GPIOB_BASE) |
#define | GPIOB_BASE (uint16_t)0x5005 |
#define | GPIOC ((GPIO_TypeDef *) GPIOC_BASE) |
#define | GPIOC_BASE (uint16_t)0x500A |
#define | GPIOD ((GPIO_TypeDef *) GPIOD_BASE) |
#define | GPIOD_BASE (uint16_t)0x500F |
#define | GPIOE ((GPIO_TypeDef *) GPIOE_BASE) |
#define | GPIOE_BASE (uint16_t)0x5014 |
#define | GPIOF ((GPIO_TypeDef *) GPIOF_BASE) |
#define | GPIOF_BASE (uint16_t)0x5019 |
#define | GPIOG ((GPIO_TypeDef *) GPIOG_BASE) |
#define | GPIOG_BASE (uint16_t)0x501E |
#define | GPIOH ((GPIO_TypeDef *) GPIOH_BASE) |
#define | GPIOH_BASE (uint16_t)0x5023 |
#define | GPIOI ((GPIO_TypeDef *) GPIOI_BASE) |
#define | GPIOI_BASE (uint16_t)0x5028 |
#define | halt() __halt() |
#define | I2C1 ((I2C_TypeDef *) I2C1_BASE) |
#define | I2C1_BASE (uint16_t)0x5210 |
#define | IRTIM ((IRTIM_TypeDef *) IRTIM_BASE) |
#define | IRTIM_BASE (uint16_t)0x52FF |
#define | IS_STATE_VALUE(STATE) |
#define | ITC ((ITC_TypeDef *) ITC_BASE) |
#define | ITC_BASE (uint16_t)0x7F70 |
#define | IWDG ((IWDG_TypeDef *) IWDG_BASE) |
#define | IWDG_BASE (uint16_t)0x50E0 |
#define | LCD ((LCD_TypeDef *) LCD_BASE) |
#define | LCD_BASE (uint16_t)0x5400 |
#define | MskBit(Dest, Msk, Src) ( (Dest) = ((Msk) & (Src)) | ((~(Msk)) & (Dest)) ) |
#define | nop() __no_operation() |
#define | OPT ((OPT_TypeDef *) OPT_BASE) |
#define | OPT_BASE (uint16_t)0x4800 |
#define | PWR ((PWR_TypeDef *) PWR_BASE) |
#define | PWR_BASE (uint16_t)0x50B2 |
#define | RI ((RI_TypeDef *) RI_BASE) |
#define | RI_BASE (uint16_t)0x5430 |
#define | rim() __enable_interrupt() |
#define | RST ((RST_TypeDef *) RST_BASE) |
#define | RST_BASE (uint16_t)0x50B0 |
#define | RTC ((RTC_TypeDef *) RTC_BASE) |
#define | RTC_BASE (uint16_t)0x5140 |
#define | SetBit(VAR, Place) ( (VAR) |= (uint8_t)((uint8_t)1<<(uint8_t)(Place)) ) |
#define | sim() __disable_interrupt() |
#define | SPI1 ((SPI_TypeDef *) SPI1_BASE) |
#define | SPI1_BASE (uint16_t)0x5200 |
#define | SPI2 ((SPI_TypeDef *) SPI2_BASE) |
#define | SPI2_BASE (uint16_t)0x53C0 |
#define | SYSCFG ((SYSCFG_TypeDef *) SYSCFG_BASE) |
#define | SYSCFG_BASE (uint16_t)0x509D |
#define | TIM1 ((TIM1_TypeDef *) TIM1_BASE) |
#define | TIM1_BASE (uint16_t)0x52B0 |
#define | TIM2 ((TIM_TypeDef *) TIM2_BASE) |
#define | TIM2_BASE (uint16_t)0x5250 |
#define | TIM3 ((TIM_TypeDef *) TIM3_BASE) |
#define | TIM3_BASE (uint16_t)0x5280 |
#define | TIM4 ((TIM4_TypeDef *) TIM4_BASE) |
#define | TIM4_BASE (uint16_t)0x52E0 |
#define | TIM5 ((TIM_TypeDef *) TIM5_BASE) |
#define | TIM5_BASE (uint16_t)0x5300 |
#define | trap() __trap() |
#define | USART1 ((USART_TypeDef *) USART1_BASE) |
#define | USART1_BASE (uint16_t)0x5230 |
#define | USART2 ((USART_TypeDef *) USART2_BASE) |
#define | USART2_BASE (uint16_t)0x53E0 |
#define | USART3 ((USART_TypeDef *) USART3_BASE) |
#define | USART3_BASE (uint16_t)0x53F0 |
#define | ValBit(VAR, Place) ((uint8_t)(VAR) & (uint8_t)((uint8_t)1<<(uint8_t)(Place))) |
#define | WFE ((WFE_TypeDef *) WFE_BASE) |
#define | wfe() __wait_for_event(); |
#define | WFE_BASE (uint16_t)0x50A6 |
#define | wfi() __wait_for_interrupt() |
#define | WWDG ((WWDG_TypeDef *) WWDG_BASE) |
#define | WWDG_BASE (uint16_t)0x50D3 |
Typedefs | |
typedef struct AES_struct | AES_TypeDef |
AES tiny (AES) | |
typedef struct LCD_struct | LCD_TypeDef |
LCD Controller (LCD) | |
typedef struct WWDG_struct | WWDG_TypeDef |
Window Watchdog (WWDG) |
Define Documentation
#define ADC1 ((ADC_TypeDef *) ADC1_BASE) |
Definition at line 2860 of file stm8l15x.h.
Referenced by ADC_TempSensorCmd(), and ADC_VrefintCmd().
#define ADC1_BASE (uint16_t)0x5340 |
Definition at line 2800 of file stm8l15x.h.
#define AES ((AES_TypeDef *) AES_BASE) |
Definition at line 2859 of file stm8l15x.h.
Referenced by AES_ClearFlag(), AES_ClearITPendingBit(), AES_Cmd(), AES_DeInit(), AES_DMAConfig(), AES_GetFlagStatus(), AES_GetITStatus(), AES_ITConfig(), AES_OperationModeConfig(), AES_ReadSubData(), AES_ReadSubKey(), AES_WriteSubData(), and AES_WriteSubKey().
#define AES_BASE (uint16_t)0x53D0 |
Definition at line 2802 of file stm8l15x.h.
#define AffBit | ( | VAR, | |
Place, | |||
Value | |||
) |
Definition at line 2953 of file stm8l15x.h.
#define AREA 0x00 |
Definition at line 2979 of file stm8l15x.h.
#define BEEP ((BEEP_TypeDef *) BEEP_BASE) |
Definition at line 2835 of file stm8l15x.h.
Referenced by BEEP_Cmd(), BEEP_DeInit(), BEEP_Init(), BEEP_LSClockToTIMConnectCmd(), and BEEP_LSICalibrationConfig().
#define BEEP_BASE (uint16_t)0x50F0 |
Definition at line 2785 of file stm8l15x.h.
#define BitClr | ( | BIT | ) | ( *((unsigned char *) (AREA+(BIT)/8)) &= (~(1<<(7-(BIT)%8))) ) |
Definition at line 2981 of file stm8l15x.h.
#define BitSet | ( | BIT | ) | ( *((unsigned char *) (AREA+(BIT)/8)) |= (1<<(7-(BIT)%8)) ) |
Definition at line 2982 of file stm8l15x.h.
#define BitVal | ( | BIT | ) | ( *((unsigned char *) (AREA+(BIT)/8)) & (1<<(7-(BIT)%8)) ) |
Definition at line 2983 of file stm8l15x.h.
Returns the low byte of the 32-bit value
Definition at line 2960 of file stm8l15x.h.
Returns the second byte of the 32-bit value
Definition at line 2961 of file stm8l15x.h.
Returns the third byte of the 32-bit value
Definition at line 2962 of file stm8l15x.h.
Returns the high byte of the 32-bit value
Definition at line 2963 of file stm8l15x.h.
#define CFG ((CFG_TypeDef *) CFG_BASE) |
Definition at line 2861 of file stm8l15x.h.
#define CFG_BASE (uint16_t)0x7F60 |
Definition at line 2806 of file stm8l15x.h.
Definition at line 2952 of file stm8l15x.h.
#define CLK ((CLK_TypeDef *) CLK_BASE) |
Definition at line 2830 of file stm8l15x.h.
Referenced by CLK_AdjustHSICalibrationValue(), CLK_BEEPClockConfig(), CLK_CCOConfig(), CLK_ClearITPendingBit(), CLK_ClockSecuritySystemEnable(), CLK_ClockSecuritySytemDeglitchCmd(), CLK_DeInit(), CLK_GetClockFreq(), CLK_GetFlagStatus(), CLK_GetITStatus(), CLK_GetSYSCLKSource(), CLK_HaltConfig(), CLK_HSEConfig(), CLK_HSICmd(), CLK_ITConfig(), CLK_LSEConfig(), CLK_LSICmd(), CLK_MainRegulatorCmd(), CLK_PeripheralClockConfig(), CLK_RTCClockConfig(), CLK_SYSCLKDivConfig(), CLK_SYSCLKSourceConfig(), and CLK_SYSCLKSourceSwitchCmd().
#define CLK_BASE (uint16_t)0x50C0 |
Definition at line 2782 of file stm8l15x.h.
#define ClrBit | ( | VAR, | |
Place | |||
) | ( (VAR) &= (uint8_t)((uint8_t)((uint8_t)1<<(uint8_t)(Place))^(uint8_t)255) ) |
Definition at line 2950 of file stm8l15x.h.
#define COMP ((COMP_TypeDef *) COMP_BASE) |
Definition at line 2858 of file stm8l15x.h.
Referenced by COMP_ClearFlag(), COMP_ClearITPendingBit(), COMP_DeInit(), COMP_EdgeConfig(), COMP_GetFlagStatus(), COMP_GetITStatus(), COMP_GetOutputLevel(), COMP_Init(), COMP_ITConfig(), COMP_SchmittTriggerCmd(), COMP_TriggerConfig(), COMP_VrefintOutputCmd(), COMP_VrefintToCOMP1Connect(), and COMP_WindowCmd().
#define COMP_BASE (uint16_t)0x5440 |
Definition at line 2805 of file stm8l15x.h.
#define CSSLSE ((CSSLSE_TypeDef *) CSSLSE_BASE) |
Definition at line 2831 of file stm8l15x.h.
Referenced by CLK_ClearFlag(), CLK_ClearITPendingBit(), CLK_GetFlagStatus(), CLK_GetITStatus(), CLK_ITConfig(), CLK_LSEClockSecuritySystemEnable(), and CLK_RTCCLKSwitchOnLSEFailureEnable().
#define CSSLSE_BASE (uint16_t)0x5190 |
Definition at line 2787 of file stm8l15x.h.
#define DAC ((DAC_TypeDef *) DAC_BASE) |
Definition at line 2850 of file stm8l15x.h.
Referenced by DAC_ClearFlag(), DAC_ClearITPendingBit(), DAC_DeInit(), DAC_DualSoftwareTriggerCmd(), DAC_GetDataOutputValue(), DAC_GetFlagStatus(), DAC_GetITStatus(), DAC_SetChannel1Data(), DAC_SetChannel2Data(), DAC_SetDualChannelData(), and DAC_SoftwareTriggerCmd().
#define DAC_BASE (uint16_t)0x5380 |
Definition at line 2801 of file stm8l15x.h.
Referenced by DAC_Cmd(), DAC_DMACmd(), DAC_GetITStatus(), DAC_Init(), DAC_ITConfig(), DAC_SetChannel1Data(), DAC_SetChannel2Data(), DAC_SetDualChannelData(), DAC_SetNoiseWaveLFSR(), DAC_SetTriangleWaveAmplitude(), and DAC_WaveGenerationCmd().
#define disableInterrupts | ( | ) | __disable_interrupt() |
Definition at line 2895 of file stm8l15x.h.
#define DM ((DM_TypeDef *) DM_BASE) |
Definition at line 2856 of file stm8l15x.h.
#define DM_BASE (uint16_t)0x7F90 |
Definition at line 2808 of file stm8l15x.h.
#define DMA1 ((DMA_TypeDef *) DMA1_BASE) |
Definition at line 2851 of file stm8l15x.h.
Referenced by DMA_GetFlagStatus(), DMA_GlobalCmd(), DMA_GlobalDeInit(), and DMA_SetTimeOut().
#define DMA1_BASE (uint16_t)0x5070 |
Definition at line 2772 of file stm8l15x.h.
#define DMA1_Channel0 ((DMA_Channel_TypeDef *) DMA1_Channel0_BASE) |
Definition at line 2852 of file stm8l15x.h.
Referenced by DMA_ClearFlag(), DMA_ClearITPendingBit(), DMA_GetFlagStatus(), and DMA_GetITStatus().
#define DMA1_Channel0_BASE (uint16_t)0x5075 |
Definition at line 2773 of file stm8l15x.h.
#define DMA1_Channel1 ((DMA_Channel_TypeDef *) DMA1_Channel1_BASE) |
Definition at line 2853 of file stm8l15x.h.
Referenced by DMA_ClearFlag(), DMA_ClearITPendingBit(), DMA_GetFlagStatus(), and DMA_GetITStatus().
#define DMA1_Channel1_BASE (uint16_t)0x507F |
Definition at line 2774 of file stm8l15x.h.
#define DMA1_Channel2 ((DMA_Channel_TypeDef *) DMA1_Channel2_BASE) |
Definition at line 2854 of file stm8l15x.h.
Referenced by DMA_ClearFlag(), DMA_ClearITPendingBit(), DMA_GetFlagStatus(), and DMA_GetITStatus().
#define DMA1_Channel2_BASE (uint16_t)0x5089 |
Definition at line 2775 of file stm8l15x.h.
#define DMA1_Channel3 ((DMA_Channel_TypeDef *) DMA1_Channel3_BASE) |
Definition at line 2855 of file stm8l15x.h.
Referenced by DMA_ClearFlag(), DMA_ClearITPendingBit(), DMA_DeInit(), DMA_GetFlagStatus(), DMA_GetITStatus(), and DMA_Init().
#define DMA1_Channel3_BASE (uint16_t)0x5093 |
Definition at line 2776 of file stm8l15x.h.
#define DMA_C3M0EAR_RESET_VALUE ((uint8_t)0x00) |
Definition at line 2549 of file stm8l15x.h.
Referenced by DMA_DeInit().
#define DMA_C3PARH_RESET_VALUE ((uint8_t)0x40) |
Definition at line 2547 of file stm8l15x.h.
Referenced by DMA_DeInit().
#define DMA_CCR_RESET_VALUE ((uint8_t)0x00) |
Definition at line 2543 of file stm8l15x.h.
Referenced by DMA_DeInit(), and DMA_Init().
#define DMA_CM0ARH_RESET_VALUE ((uint8_t)0x00) |
Definition at line 2550 of file stm8l15x.h.
Referenced by DMA_DeInit().
#define DMA_CM0ARL_RESET_VALUE ((uint8_t)0x00) |
Definition at line 2551 of file stm8l15x.h.
Referenced by DMA_DeInit().
#define DMA_CNBTR_RESET_VALUE ((uint8_t)0x00) |
Definition at line 2545 of file stm8l15x.h.
Referenced by DMA_DeInit().
#define DMA_CPARH_RESET_VALUE ((uint8_t)0x52) |
Definition at line 2546 of file stm8l15x.h.
Referenced by DMA_DeInit().
#define DMA_CPARL_RESET_VALUE ((uint8_t)0x00) |
Definition at line 2548 of file stm8l15x.h.
Referenced by DMA_DeInit().
#define DMA_CSPR_RESET_VALUE ((uint8_t)0x00) |
Definition at line 2544 of file stm8l15x.h.
Referenced by DMA_DeInit().
#define enableInterrupts | ( | ) | __enable_interrupt() |
Definition at line 2894 of file stm8l15x.h.
#define EXTI ((EXTI_TypeDef *) EXTI_BASE) |
Definition at line 2827 of file stm8l15x.h.
Referenced by EXTI_ClearITPendingBit(), EXTI_DeInit(), EXTI_GetITStatus(), EXTI_GetPinSensitivity(), EXTI_GetPortSensitivity(), EXTI_SelectPort(), EXTI_SetHalfPortSelection(), EXTI_SetPinSensitivity(), and EXTI_SetPortSensitivity().
#define EXTI_BASE (uint16_t)0x50A0 |
Definition at line 2778 of file stm8l15x.h.
#define FLASH ((FLASH_TypeDef *) FLASH_BASE) |
Definition at line 2826 of file stm8l15x.h.
Referenced by FLASH_DeInit(), FLASH_EraseOptionByte(), FLASH_GetFlagStatus(), FLASH_GetProgrammingTime(), FLASH_ITConfig(), FLASH_Lock(), FLASH_PowerWaitModeConfig(), FLASH_ProgramOptionByte(), FLASH_ProgramWord(), FLASH_SetProgrammingTime(), and FLASH_Unlock().
#define FLASH_BASE (uint16_t)0x5050 |
Definition at line 2771 of file stm8l15x.h.
#define GPIOA ((GPIO_TypeDef *) GPIOA_BASE) |
Definition at line 2816 of file stm8l15x.h.
#define GPIOA_BASE (uint16_t)0x5000 |
Definition at line 2762 of file stm8l15x.h.
#define GPIOB ((GPIO_TypeDef *) GPIOB_BASE) |
Definition at line 2817 of file stm8l15x.h.
#define GPIOB_BASE (uint16_t)0x5005 |
Definition at line 2763 of file stm8l15x.h.
#define GPIOC ((GPIO_TypeDef *) GPIOC_BASE) |
Definition at line 2818 of file stm8l15x.h.
#define GPIOC_BASE (uint16_t)0x500A |
Definition at line 2764 of file stm8l15x.h.
#define GPIOD ((GPIO_TypeDef *) GPIOD_BASE) |
Definition at line 2819 of file stm8l15x.h.
#define GPIOD_BASE (uint16_t)0x500F |
Definition at line 2765 of file stm8l15x.h.
#define GPIOE ((GPIO_TypeDef *) GPIOE_BASE) |
Definition at line 2820 of file stm8l15x.h.
#define GPIOE_BASE (uint16_t)0x5014 |
Definition at line 2766 of file stm8l15x.h.
#define GPIOF ((GPIO_TypeDef *) GPIOF_BASE) |
Definition at line 2821 of file stm8l15x.h.
#define GPIOF_BASE (uint16_t)0x5019 |
Definition at line 2767 of file stm8l15x.h.
#define GPIOG ((GPIO_TypeDef *) GPIOG_BASE) |
Definition at line 2822 of file stm8l15x.h.
#define GPIOG_BASE (uint16_t)0x501E |
Definition at line 2768 of file stm8l15x.h.
#define GPIOH ((GPIO_TypeDef *) GPIOH_BASE) |
Definition at line 2823 of file stm8l15x.h.
#define GPIOH_BASE (uint16_t)0x5023 |
Definition at line 2769 of file stm8l15x.h.
#define GPIOI ((GPIO_TypeDef *) GPIOI_BASE) |
Definition at line 2824 of file stm8l15x.h.
#define GPIOI_BASE (uint16_t)0x5028 |
Definition at line 2770 of file stm8l15x.h.
#define halt | ( | ) | __halt() |
Definition at line 2902 of file stm8l15x.h.
#define I2C1 ((I2C_TypeDef *) I2C1_BASE) |
Definition at line 2838 of file stm8l15x.h.
#define I2C1_BASE (uint16_t)0x5210 |
Definition at line 2790 of file stm8l15x.h.
#define IRTIM ((IRTIM_TypeDef *) IRTIM_BASE) |
Definition at line 2848 of file stm8l15x.h.
Referenced by IRTIM_Cmd(), IRTIM_DeInit(), IRTIM_GetHighSinkODStatus(), IRTIM_GetStatus(), and IRTIM_HighSinkODCmd().
#define IRTIM_BASE (uint16_t)0x52FF |
Definition at line 2798 of file stm8l15x.h.
#define IS_STATE_VALUE | ( | STATE | ) |
Definition at line 2966 of file stm8l15x.h.
Referenced by GPIO_WriteBit().
#define ITC ((ITC_TypeDef *) ITC_BASE) |
Definition at line 2849 of file stm8l15x.h.
Referenced by ITC_DeInit(), ITC_GetSoftwarePriority(), and ITC_SetSoftwarePriority().
#define ITC_BASE (uint16_t)0x7F70 |
Definition at line 2807 of file stm8l15x.h.
#define IWDG ((IWDG_TypeDef *) IWDG_BASE) |
Definition at line 2833 of file stm8l15x.h.
Referenced by IWDG_Enable(), IWDG_ReloadCounter(), IWDG_SetPrescaler(), IWDG_SetReload(), and IWDG_WriteAccessCmd().
#define IWDG_BASE (uint16_t)0x50E0 |
Definition at line 2784 of file stm8l15x.h.
#define LCD ((LCD_TypeDef *) LCD_BASE) |
Definition at line 2842 of file stm8l15x.h.
Referenced by LCD_BlinkConfig(), LCD_ClearFlag(), LCD_ClearITPendingBit(), LCD_Cmd(), LCD_ContrastConfig(), LCD_DeadTimeConfig(), LCD_DeInit(), LCD_GetFlagStatus(), LCD_GetITStatus(), LCD_HighDriveCmd(), LCD_Init(), LCD_ITConfig(), LCD_PageSelect(), LCD_PortMaskConfig(), LCD_PulseOnDurationConfig(), and LCD_WriteRAM().
#define LCD_BASE (uint16_t)0x5400 |
Definition at line 2803 of file stm8l15x.h.
#define MskBit | ( | Dest, | |
Msk, | |||
Src | |||
) | ( (Dest) = ((Msk) & (Src)) | ((~(Msk)) & (Dest)) ) |
Definition at line 2956 of file stm8l15x.h.
#define nop | ( | ) | __no_operation() |
Definition at line 2898 of file stm8l15x.h.
#define OPT ((OPT_TypeDef *) OPT_BASE) |
Definition at line 2862 of file stm8l15x.h.
Referenced by FLASH_GetBootSize(), FLASH_GetCodeSize(), and FLASH_GetReadOutProtectionStatus().
#define OPT_BASE (uint16_t)0x4800 |
Definition at line 2761 of file stm8l15x.h.
#define PWR ((PWR_TypeDef *) PWR_BASE) |
Definition at line 2829 of file stm8l15x.h.
Referenced by PWR_DeInit(), PWR_FastWakeUpCmd(), PWR_GetFlagStatus(), PWR_PVDClearFlag(), PWR_PVDClearITPendingBit(), PWR_PVDCmd(), PWR_PVDGetITStatus(), PWR_PVDITConfig(), PWR_PVDLevelConfig(), and PWR_UltraLowPowerCmd().
#define PWR_BASE (uint16_t)0x50B2 |
Definition at line 2781 of file stm8l15x.h.
#define RI ((RI_TypeDef *) RI_BASE) |
Definition at line 2857 of file stm8l15x.h.
Referenced by SYSCFG_RIAnalogSwitchConfig(), SYSCFG_RIDeInit(), SYSCFG_RIIOSwitchConfig(), SYSCFG_RIResistorConfig(), and SYSCFG_RITIMInputCaptureConfig().
#define RI_BASE (uint16_t)0x5430 |
Definition at line 2804 of file stm8l15x.h.
#define rim | ( | ) | __enable_interrupt() |
Definition at line 2896 of file stm8l15x.h.
#define RST ((RST_TypeDef *) RST_BASE) |
Definition at line 2828 of file stm8l15x.h.
Referenced by RST_ClearFlag(), RST_GetFlagStatus(), and RST_GPOutputEnable().
#define RST_BASE (uint16_t)0x50B0 |
Definition at line 2780 of file stm8l15x.h.
#define RTC ((RTC_TypeDef *) RTC_BASE) |
Definition at line 2825 of file stm8l15x.h.
Referenced by RTC_AlarmCmd(), RTC_AlarmSubSecondConfig(), RTC_BypassShadowCmd(), RTC_CalibOutputCmd(), RTC_CalibOutputConfig(), RTC_ClearFlag(), RTC_ClearITPendingBit(), RTC_DayLightSavingConfig(), RTC_DeInit(), RTC_EnterInitMode(), RTC_ExitInitMode(), RTC_GetAlarm(), RTC_GetDate(), RTC_GetFlagStatus(), RTC_GetITStatus(), RTC_GetStoreOperation(), RTC_GetSubSecond(), RTC_GetTime(), RTC_GetWakeUpCounter(), RTC_Init(), RTC_ITConfig(), RTC_OutputConfig(), RTC_RatioCmd(), RTC_SetAlarm(), RTC_SetDate(), RTC_SetTime(), RTC_SetWakeUpCounter(), RTC_SmoothCalibConfig(), RTC_SynchroShiftConfig(), RTC_TamperCmd(), RTC_TamperFilterConfig(), RTC_TamperLevelConfig(), RTC_TamperPinsPrechargeDuration(), RTC_TamperSamplingFreqConfig(), RTC_WaitForSynchro(), RTC_WakeUpClockConfig(), RTC_WakeUpCmd(), and RTC_WriteProtectionCmd().
#define RTC_BASE (uint16_t)0x5140 |
Definition at line 2786 of file stm8l15x.h.
Definition at line 2949 of file stm8l15x.h.
#define sim | ( | ) | __disable_interrupt() |
Definition at line 2897 of file stm8l15x.h.
#define SPI1 ((SPI_TypeDef *) SPI1_BASE) |
Definition at line 2836 of file stm8l15x.h.
Referenced by SPI_CalculateCRCCmd().
#define SPI1_BASE (uint16_t)0x5200 |
Definition at line 2788 of file stm8l15x.h.
#define SPI2 ((SPI_TypeDef *) SPI2_BASE) |
Definition at line 2837 of file stm8l15x.h.
#define SPI2_BASE (uint16_t)0x53C0 |
Definition at line 2789 of file stm8l15x.h.
#define SYSCFG ((SYSCFG_TypeDef *) SYSCFG_BASE) |
Definition at line 2815 of file stm8l15x.h.
Referenced by SYSCFG_REMAPDeInit(), SYSCFG_REMAPDMAChannelConfig(), and SYSCFG_REMAPPinConfig().
#define SYSCFG_BASE (uint16_t)0x509D |
Definition at line 2777 of file stm8l15x.h.
#define TIM1 ((TIM1_TypeDef *) TIM1_BASE) |
Definition at line 2843 of file stm8l15x.h.
Referenced by TI1_Config(), TI2_Config(), TI3_Config(), TI4_Config(), TIM1_ARRPreloadConfig(), TIM1_BDTRConfig(), TIM1_CCPreloadControl(), TIM1_CCxCmd(), TIM1_CCxNCmd(), TIM1_ClearFlag(), TIM1_ClearITPendingBit(), TIM1_ClearOC1Ref(), TIM1_ClearOC2Ref(), TIM1_ClearOC3Ref(), TIM1_ClearOC4Ref(), TIM1_Cmd(), TIM1_CounterModeConfig(), TIM1_CtrlPWMOutputs(), TIM1_DeInit(), TIM1_DMACmd(), TIM1_DMAConfig(), TIM1_EncoderInterfaceConfig(), TIM1_ETRClockMode1Config(), TIM1_ETRClockMode2Config(), TIM1_ETRConfig(), TIM1_ForcedOC1Config(), TIM1_ForcedOC2Config(), TIM1_ForcedOC3Config(), TIM1_GenerateEvent(), TIM1_GetCapture1(), TIM1_GetCapture2(), TIM1_GetCapture3(), TIM1_GetCapture4(), TIM1_GetCounter(), TIM1_GetFlagStatus(), TIM1_GetITStatus(), TIM1_GetPrescaler(), TIM1_InternalClockConfig(), TIM1_ITConfig(), TIM1_OC1FastConfig(), TIM1_OC1Init(), TIM1_OC1NPolarityConfig(), TIM1_OC1PolarityConfig(), TIM1_OC1PreloadConfig(), TIM1_OC2FastConfig(), TIM1_OC2Init(), TIM1_OC2NPolarityConfig(), TIM1_OC2PolarityConfig(), TIM1_OC2PreloadConfig(), TIM1_OC3FastConfig(), TIM1_OC3Init(), TIM1_OC3NPolarityConfig(), TIM1_OC3PolarityConfig(), TIM1_OC3PreloadConfig(), TIM1_OC4PreloadConfig(), TIM1_PrescalerConfig(), TIM1_SelectCCDMA(), TIM1_SelectCOM(), TIM1_SelectHallSensor(), TIM1_SelectInputTrigger(), TIM1_SelectMasterSlaveMode(), TIM1_SelectOCREFClear(), TIM1_SelectOCxM(), TIM1_SelectOnePulseMode(), TIM1_SelectOutputTrigger(), TIM1_SelectSlaveMode(), TIM1_SetAutoreload(), TIM1_SetCompare1(), TIM1_SetCompare2(), TIM1_SetCompare3(), TIM1_SetCompare4(), TIM1_SetCounter(), TIM1_SetIC1Prescaler(), TIM1_SetIC2Prescaler(), TIM1_SetIC3Prescaler(), TIM1_SetIC4Prescaler(), TIM1_TimeBaseInit(), TIM1_TIxExternalClockConfig(), TIM1_UpdateDisableConfig(), and TIM1_UpdateRequestConfig().
#define TIM1_BASE (uint16_t)0x52B0 |
Definition at line 2796 of file stm8l15x.h.
#define TIM2 ((TIM_TypeDef *) TIM2_BASE) |
Definition at line 2844 of file stm8l15x.h.
Referenced by TI1_Config(), TI2_Config(), TIM2_ARRPreloadConfig(), TIM2_BKRConfig(), TIM2_CCxCmd(), TIM2_ClearFlag(), TIM2_ClearITPendingBit(), TIM2_Cmd(), TIM2_CounterModeConfig(), TIM2_CtrlPWMOutputs(), TIM2_DeInit(), TIM2_DMACmd(), TIM2_EncoderInterfaceConfig(), TIM2_ETRClockMode1Config(), TIM2_ETRClockMode2Config(), TIM2_ETRConfig(), TIM2_ForcedOC1Config(), TIM2_ForcedOC2Config(), TIM2_GenerateEvent(), TIM2_GetCapture1(), TIM2_GetCapture2(), TIM2_GetCounter(), TIM2_GetFlagStatus(), TIM2_GetITStatus(), TIM2_GetPrescaler(), TIM2_InternalClockConfig(), TIM2_ITConfig(), TIM2_OC1FastConfig(), TIM2_OC1Init(), TIM2_OC1PolarityConfig(), TIM2_OC1PreloadConfig(), TIM2_OC2FastConfig(), TIM2_OC2Init(), TIM2_OC2PolarityConfig(), TIM2_OC2PreloadConfig(), TIM2_PrescalerConfig(), TIM2_SelectCCDMA(), TIM2_SelectHallSensor(), TIM2_SelectInputTrigger(), TIM2_SelectMasterSlaveMode(), TIM2_SelectOCxM(), TIM2_SelectOnePulseMode(), TIM2_SelectOutputTrigger(), TIM2_SelectSlaveMode(), TIM2_SetAutoreload(), TIM2_SetCompare1(), TIM2_SetCompare2(), TIM2_SetCounter(), TIM2_SetIC1Prescaler(), TIM2_SetIC2Prescaler(), TIM2_TimeBaseInit(), TIM2_TIxExternalClockConfig(), TIM2_UpdateDisableConfig(), and TIM2_UpdateRequestConfig().
#define TIM2_BASE (uint16_t)0x5250 |
Definition at line 2794 of file stm8l15x.h.
#define TIM3 ((TIM_TypeDef *) TIM3_BASE) |
Definition at line 2845 of file stm8l15x.h.
Referenced by TI1_Config(), TI2_Config(), TIM3_ARRPreloadConfig(), TIM3_BKRConfig(), TIM3_CCxCmd(), TIM3_ClearFlag(), TIM3_ClearITPendingBit(), TIM3_Cmd(), TIM3_CounterModeConfig(), TIM3_CtrlPWMOutputs(), TIM3_DeInit(), TIM3_DMACmd(), TIM3_EncoderInterfaceConfig(), TIM3_ETRClockMode1Config(), TIM3_ETRClockMode2Config(), TIM3_ETRConfig(), TIM3_ForcedOC1Config(), TIM3_ForcedOC2Config(), TIM3_GenerateEvent(), TIM3_GetCapture1(), TIM3_GetCapture2(), TIM3_GetCounter(), TIM3_GetFlagStatus(), TIM3_GetITStatus(), TIM3_GetPrescaler(), TIM3_InternalClockConfig(), TIM3_ITConfig(), TIM3_OC1FastConfig(), TIM3_OC1Init(), TIM3_OC1PolarityConfig(), TIM3_OC1PreloadConfig(), TIM3_OC2FastConfig(), TIM3_OC2Init(), TIM3_OC2PolarityConfig(), TIM3_OC2PreloadConfig(), TIM3_PrescalerConfig(), TIM3_SelectCCDMA(), TIM3_SelectHallSensor(), TIM3_SelectInputTrigger(), TIM3_SelectMasterSlaveMode(), TIM3_SelectOCxM(), TIM3_SelectOnePulseMode(), TIM3_SelectOutputTrigger(), TIM3_SelectSlaveMode(), TIM3_SetAutoreload(), TIM3_SetCompare1(), TIM3_SetCompare2(), TIM3_SetCounter(), TIM3_SetIC1Prescaler(), TIM3_SetIC2Prescaler(), TIM3_TimeBaseInit(), TIM3_TIxExternalClockConfig(), TIM3_UpdateDisableConfig(), and TIM3_UpdateRequestConfig().
#define TIM3_BASE (uint16_t)0x5280 |
Definition at line 2795 of file stm8l15x.h.
#define TIM4 ((TIM4_TypeDef *) TIM4_BASE) |
Definition at line 2846 of file stm8l15x.h.
Referenced by TIM4_ARRPreloadConfig(), TIM4_ClearFlag(), TIM4_ClearITPendingBit(), TIM4_Cmd(), TIM4_DeInit(), TIM4_DMACmd(), TIM4_GenerateEvent(), TIM4_GetCounter(), TIM4_GetFlagStatus(), TIM4_GetITStatus(), TIM4_GetPrescaler(), TIM4_InternalClockConfig(), TIM4_ITConfig(), TIM4_PrescalerConfig(), TIM4_SelectInputTrigger(), TIM4_SelectMasterSlaveMode(), TIM4_SelectOnePulseMode(), TIM4_SelectOutputTrigger(), TIM4_SelectSlaveMode(), TIM4_SetAutoreload(), TIM4_SetCounter(), TIM4_TimeBaseInit(), TIM4_UpdateDisableConfig(), and TIM4_UpdateRequestConfig().
#define TIM4_BASE (uint16_t)0x52E0 |
Definition at line 2797 of file stm8l15x.h.
#define TIM5 ((TIM_TypeDef *) TIM5_BASE) |
Definition at line 2847 of file stm8l15x.h.
Referenced by TI1_Config(), TI2_Config(), TIM5_ARRPreloadConfig(), TIM5_BKRConfig(), TIM5_CCxCmd(), TIM5_ClearFlag(), TIM5_ClearITPendingBit(), TIM5_Cmd(), TIM5_CounterModeConfig(), TIM5_CtrlPWMOutputs(), TIM5_DeInit(), TIM5_DMACmd(), TIM5_EncoderInterfaceConfig(), TIM5_ETRClockMode1Config(), TIM5_ETRClockMode2Config(), TIM5_ETRConfig(), TIM5_ForcedOC1Config(), TIM5_ForcedOC2Config(), TIM5_GenerateEvent(), TIM5_GetCapture1(), TIM5_GetCapture2(), TIM5_GetCounter(), TIM5_GetFlagStatus(), TIM5_GetITStatus(), TIM5_GetPrescaler(), TIM5_InternalClockConfig(), TIM5_ITConfig(), TIM5_OC1FastConfig(), TIM5_OC1Init(), TIM5_OC1PolarityConfig(), TIM5_OC1PreloadConfig(), TIM5_OC2FastConfig(), TIM5_OC2Init(), TIM5_OC2PolarityConfig(), TIM5_OC2PreloadConfig(), TIM5_PrescalerConfig(), TIM5_SelectCCDMA(), TIM5_SelectHallSensor(), TIM5_SelectInputTrigger(), TIM5_SelectMasterSlaveMode(), TIM5_SelectOCxM(), TIM5_SelectOnePulseMode(), TIM5_SelectOutputTrigger(), TIM5_SelectSlaveMode(), TIM5_SetAutoreload(), TIM5_SetCompare1(), TIM5_SetCompare2(), TIM5_SetCounter(), TIM5_SetIC1Prescaler(), TIM5_SetIC2Prescaler(), TIM5_TimeBaseInit(), TIM5_TIxExternalClockConfig(), TIM5_UpdateDisableConfig(), and TIM5_UpdateRequestConfig().
#define TIM5_BASE (uint16_t)0x5300 |
Definition at line 2799 of file stm8l15x.h.
#define trap | ( | ) | __trap() |
Definition at line 2899 of file stm8l15x.h.
#define USART1 ((USART_TypeDef *) USART1_BASE) |
Definition at line 2839 of file stm8l15x.h.
#define USART1_BASE (uint16_t)0x5230 |
Definition at line 2791 of file stm8l15x.h.
#define USART2 ((USART_TypeDef *) USART2_BASE) |
Definition at line 2840 of file stm8l15x.h.
#define USART2_BASE (uint16_t)0x53E0 |
Definition at line 2792 of file stm8l15x.h.
#define USART3 ((USART_TypeDef *) USART3_BASE) |
Definition at line 2841 of file stm8l15x.h.
#define USART3_BASE (uint16_t)0x53F0 |
Definition at line 2793 of file stm8l15x.h.
Definition at line 2958 of file stm8l15x.h.
#define WFE ((WFE_TypeDef *) WFE_BASE) |
Definition at line 2834 of file stm8l15x.h.
Referenced by WFE_DeInit(), WFE_GetWakeUpSourceEventStatus(), and WFE_WakeUpSourceEventCmd().
#define wfe | ( | ) | __wait_for_event(); |
Definition at line 2901 of file stm8l15x.h.
#define WFE_BASE (uint16_t)0x50A6 |
Definition at line 2779 of file stm8l15x.h.
#define wfi | ( | ) | __wait_for_interrupt() |
Definition at line 2900 of file stm8l15x.h.
#define WWDG ((WWDG_TypeDef *) WWDG_BASE) |
Definition at line 2832 of file stm8l15x.h.
Referenced by WWDG_Enable(), WWDG_GetCounter(), WWDG_Init(), WWDG_SetCounter(), WWDG_SetWindowValue(), and WWDG_SWReset().
#define WWDG_BASE (uint16_t)0x50D3 |
Definition at line 2783 of file stm8l15x.h.
Typedef Documentation
typedef struct AES_struct AES_TypeDef |
AES tiny (AES)
typedef struct LCD_struct LCD_TypeDef |
LCD Controller (LCD)
typedef struct WWDG_struct WWDG_TypeDef |
Window Watchdog (WWDG)