STM8L15x Standard Peripherals Drivers: ADC_struct Struct Reference

STM8L15x/16x 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

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().

Control register 2

Definition at line 2284 of file stm8l15x.h.

Referenced by ADC_DeInit(), ADC_ExternalTrigConfig(), ADC_Init(), and ADC_SamplingTimeConfig().

Data register MSB

Definition at line 2287 of file stm8l15x.h.

Referenced by ADC_GetConversionValue().

Data register LSB

Definition at line 2288 of file stm8l15x.h.

Referenced by ADC_GetConversionValue().

High voltage reference register MSB

Definition at line 2289 of file stm8l15x.h.

Referenced by ADC_AnalogWatchdogConfig(), ADC_AnalogWatchdogThresholdsConfig(), and ADC_DeInit().

High voltage reference register LSB

Definition at line 2290 of file stm8l15x.h.

Referenced by ADC_AnalogWatchdogConfig(), ADC_AnalogWatchdogThresholdsConfig(), and ADC_DeInit().

Low voltage reference register MSB

Definition at line 2291 of file stm8l15x.h.

Referenced by ADC_AnalogWatchdogConfig(), ADC_AnalogWatchdogThresholdsConfig(), and ADC_DeInit().

Low voltage reference register LSB

Definition at line 2292 of file stm8l15x.h.

Referenced by ADC_AnalogWatchdogConfig(), ADC_AnalogWatchdogThresholdsConfig(), and ADC_DeInit().

Channel select scan registers

Definition at line 2293 of file stm8l15x.h.

Referenced by ADC_ChannelCmd(), ADC_DeInit(), and ADC_DMACmd().

Status register

Definition at line 2286 of file stm8l15x.h.

Referenced by ADC_ClearFlag(), ADC_ClearITPendingBit(), ADC_DeInit(), ADC_GetFlagStatus(), and ADC_GetITStatus().

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:
STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com