STM8L15x Standard Peripherals Drivers
|
ADC_struct Struct Reference
Analog to Digital Converter (ADC) peripheral. More...
#include <stm8l15x.h>
Data Fields | |
__IO uint8_t | CR1 |
__IO uint8_t | CR2 |
__IO uint8_t | CR3 |
__IO uint8_t | DRH |
__IO uint8_t | DRL |
__IO uint8_t | HTRH |
__IO uint8_t | HTRL |
__IO uint8_t | LTRH |
__IO uint8_t | LTRL |
__IO uint8_t | SQR [4] |
__IO uint8_t | SR |
__IO uint8_t | TRIGR [4] |
Detailed Description
Analog to Digital Converter (ADC) peripheral.
Definition at line 2281 of file stm8l15x.h.
Field Documentation
__IO uint8_t ADC_struct::CR1 |
Control register 1
Definition at line 2283 of file stm8l15x.h.
Referenced by ADC_Cmd(), ADC_DeInit(), ADC_GetITStatus(), ADC_Init(), ADC_ITConfig(), and ADC_SoftwareStartConv().
__IO uint8_t ADC_struct::CR2 |
Control register 2
Definition at line 2284 of file stm8l15x.h.
Referenced by ADC_DeInit(), ADC_ExternalTrigConfig(), ADC_Init(), and ADC_SamplingTimeConfig().
__IO uint8_t ADC_struct::CR3 |
Control register 3
Definition at line 2285 of file stm8l15x.h.
Referenced by ADC_AnalogWatchdogChannelSelect(), ADC_AnalogWatchdogConfig(), ADC_DeInit(), and ADC_SamplingTimeConfig().
__IO uint8_t ADC_struct::DRH |
Data register MSB
Definition at line 2287 of file stm8l15x.h.
Referenced by ADC_GetConversionValue().
__IO uint8_t ADC_struct::DRL |
Data register LSB
Definition at line 2288 of file stm8l15x.h.
Referenced by ADC_GetConversionValue().
__IO uint8_t ADC_struct::HTRH |
High voltage reference register MSB
Definition at line 2289 of file stm8l15x.h.
Referenced by ADC_AnalogWatchdogConfig(), ADC_AnalogWatchdogThresholdsConfig(), and ADC_DeInit().
__IO uint8_t ADC_struct::HTRL |
High voltage reference register LSB
Definition at line 2290 of file stm8l15x.h.
Referenced by ADC_AnalogWatchdogConfig(), ADC_AnalogWatchdogThresholdsConfig(), and ADC_DeInit().
__IO uint8_t ADC_struct::LTRH |
Low voltage reference register MSB
Definition at line 2291 of file stm8l15x.h.
Referenced by ADC_AnalogWatchdogConfig(), ADC_AnalogWatchdogThresholdsConfig(), and ADC_DeInit().
__IO uint8_t ADC_struct::LTRL |
Low voltage reference register LSB
Definition at line 2292 of file stm8l15x.h.
Referenced by ADC_AnalogWatchdogConfig(), ADC_AnalogWatchdogThresholdsConfig(), and ADC_DeInit().
__IO uint8_t ADC_struct::SQR[4] |
Channel select scan registers
Definition at line 2293 of file stm8l15x.h.
Referenced by ADC_ChannelCmd(), ADC_DeInit(), and ADC_DMACmd().
__IO uint8_t ADC_struct::SR |
Status register
Definition at line 2286 of file stm8l15x.h.
Referenced by ADC_ClearFlag(), ADC_ClearITPendingBit(), ADC_DeInit(), ADC_GetFlagStatus(), and ADC_GetITStatus().
__IO uint8_t ADC_struct::TRIGR[4] |
Trigger disable registers
Definition at line 2294 of file stm8l15x.h.
Referenced by ADC_DeInit(), and ADC_SchmittTriggerConfig().
The documentation for this struct was generated from the following file: