Stlux385A Analog Comparator Unit (Stlux_Acu); Stlux385A Analog-To-Digital Converter (Stlux_Adc); Table 4. Stlux385A Analog Comparator Unit; Table 5. Stlux385A Analog-To-Digital Converter - STMicroelectronics STLUX385A User Manual

Table of Contents

Advertisement

UM1753
3.4

STLUX385A analog comparator unit (stlux_acu)

Header
ACU_Reset
ACU_Init
ACU_Read
ACU_Enable
ACU_SetCompareLevel
3.5

STLUX385A analog-to-digital converter (stlux_adc)

Header
ADC_Reset
ADC_ConvMode_Init is the conversion
ADC_Init
whether the 10 bits data are left or right
ADC_Interrupt
ADC_Sequencer
ADC_Start
ADC_Stop

Table 4. STLUX385A analog comparator unit

Input parameters
ACUx specifies the comparator
peripheral number.
ACUx specifies the comparator
peripheral number.
CP3_SEL specifies whether
the reference voltage for the
CP3 is internal or external.
ACUx specifies the comparator
peripheral number.
DACIN specifies the input
voltage level to be set.

Table 5. STLUX385A analog-to-digital converter

Input parameters
mode. It can be SEQUENCE or
CIRCULAR.
ADC_DataFormat_Init determines
aligned.
ADC_IntEndConvMode_Interrupt.
ADC_IntEndSeqMode_interrupt
ADC_IntSeqFull_Interrupt
ADC_Channel_Sequencer
ADC_Gain_Sequencer
DocID026248 Rev 1
Output parameters
The comparator output
value is returned.
Output parameters
STLUX library
Functionality
Sets the ACU internal
registers to their default
initialization values.
Enables the ACU unit and
initializes the compare levels.
Reads the output of the
comparator x.
Enables the comparator CPx.
In case of CP3, also the
internal/external reference is
specified.
Assigns a specified voltage
level reference to the DACx.
Functionality
Sets the ADC internal
registers to their default
initialization values.
This function initializes the
ADC sequencer.
This function enables ADC
functionality.
This function disables ADC
functionality.
11/21
21

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STLUX385A and is the answer not in the manual?

Questions and answers

Table of Contents