Bouffalo SDK  1.0
Bouffalolab Software Development Kit
Collaboration diagram for Analog compare channel type definition:

Modules

 Analog compare bias current control type definition
 

Macros

#define AON_ACOMP_CHAN_ADC0   0
 
#define AON_ACOMP_CHAN_ADC1   1
 
#define AON_ACOMP_CHAN_ADC2   2
 
#define AON_ACOMP_CHAN_ADC3   3
 
#define AON_ACOMP_CHAN_ADC4   4
 
#define AON_ACOMP_CHAN_ADC5   5
 
#define AON_ACOMP_CHAN_ADC6   6
 
#define AON_ACOMP_CHAN_ADC7   7
 
#define AON_ACOMP_CHAN_DACA   8
 
#define AON_ACOMP_CHAN_DACB   9
 
#define AON_ACOMP_CHAN_VREF_1P25V   10
 
#define AON_ACOMP_CHAN_VIO_X_SCALING_FACTOR_1   11
 
#define AON_ACOMP_CHAN_VIO_X_SCALING_FACTOR_2   12
 
#define AON_ACOMP_CHAN_VIO_X_SCALING_FACTOR_3   13
 
#define AON_ACOMP_CHAN_VIO_X_SCALING_FACTOR_4   14
 
#define AON_ACOMP_CHAN_VSS   15
 

Variables

uint8_t mux_en
 
uint8_t pos_chan_sel
 
uint8_t neg_chan_sel
 
uint8_t vio_sel
 
uint8_t scaling_factor
 
uint8_t bias_prog
 
uint8_t hysteresis_pos_volt
 
uint8_t hysteresis_neg_volt
 

Detailed Description

Macro Definition Documentation

◆ AON_ACOMP_CHAN_ADC0

#define AON_ACOMP_CHAN_ADC0   0

Analog compare channel,ADC input channel 0

Definition at line 31 of file bflb_acomp.h.

◆ AON_ACOMP_CHAN_ADC1

#define AON_ACOMP_CHAN_ADC1   1

Analog compare channel,ADC input channel 1

Definition at line 32 of file bflb_acomp.h.

◆ AON_ACOMP_CHAN_ADC2

#define AON_ACOMP_CHAN_ADC2   2

Analog compare channel,ADC input channel 2

Definition at line 33 of file bflb_acomp.h.

◆ AON_ACOMP_CHAN_ADC3

#define AON_ACOMP_CHAN_ADC3   3

Analog compare channel,ADC input channel 3

Definition at line 34 of file bflb_acomp.h.

◆ AON_ACOMP_CHAN_ADC4

#define AON_ACOMP_CHAN_ADC4   4

Analog compare channel,ADC input channel 4

Definition at line 35 of file bflb_acomp.h.

◆ AON_ACOMP_CHAN_ADC5

#define AON_ACOMP_CHAN_ADC5   5

Analog compare channel,ADC input channel 5

Definition at line 36 of file bflb_acomp.h.

◆ AON_ACOMP_CHAN_ADC6

#define AON_ACOMP_CHAN_ADC6   6

Analog compare channel,ADC input channel 6

Definition at line 37 of file bflb_acomp.h.

◆ AON_ACOMP_CHAN_ADC7

#define AON_ACOMP_CHAN_ADC7   7

Analog compare channel,ADC input channel 7

Definition at line 38 of file bflb_acomp.h.

◆ AON_ACOMP_CHAN_DACA

#define AON_ACOMP_CHAN_DACA   8

Analog compare channel,DAC output channel A

Definition at line 39 of file bflb_acomp.h.

◆ AON_ACOMP_CHAN_DACB

#define AON_ACOMP_CHAN_DACB   9

Analog compare channel,DAC output channel B

Definition at line 40 of file bflb_acomp.h.

◆ AON_ACOMP_CHAN_VIO_X_SCALING_FACTOR_1

#define AON_ACOMP_CHAN_VIO_X_SCALING_FACTOR_1   11

Analog compare channel,first,VIO * scaling factor

Definition at line 42 of file bflb_acomp.h.

◆ AON_ACOMP_CHAN_VIO_X_SCALING_FACTOR_2

#define AON_ACOMP_CHAN_VIO_X_SCALING_FACTOR_2   12

Analog compare channel,second,VIO * scaling factor

Definition at line 43 of file bflb_acomp.h.

◆ AON_ACOMP_CHAN_VIO_X_SCALING_FACTOR_3

#define AON_ACOMP_CHAN_VIO_X_SCALING_FACTOR_3   13

Analog compare channel,third,VIO * scaling factor

Definition at line 44 of file bflb_acomp.h.

◆ AON_ACOMP_CHAN_VIO_X_SCALING_FACTOR_4

#define AON_ACOMP_CHAN_VIO_X_SCALING_FACTOR_4   14

Analog compare channel,forth,VIO * scaling factor

Definition at line 45 of file bflb_acomp.h.

◆ AON_ACOMP_CHAN_VREF_1P25V

#define AON_ACOMP_CHAN_VREF_1P25V   10

Analog compare channel,1.25V ref voltage

Definition at line 41 of file bflb_acomp.h.

◆ AON_ACOMP_CHAN_VSS

#define AON_ACOMP_CHAN_VSS   15

Analog compare channel,vss

Definition at line 46 of file bflb_acomp.h.

Variable Documentation

◆ bias_prog

uint8_t bias_prog

Definition at line 86 of file bflb_acomp.h.

◆ hysteresis_neg_volt

uint8_t hysteresis_neg_volt

Definition at line 88 of file bflb_acomp.h.

◆ hysteresis_pos_volt

uint8_t hysteresis_pos_volt

Definition at line 87 of file bflb_acomp.h.

◆ mux_en

uint8_t mux_en

Definition at line 81 of file bflb_acomp.h.

◆ neg_chan_sel

uint8_t neg_chan_sel

Definition at line 83 of file bflb_acomp.h.

◆ pos_chan_sel

uint8_t pos_chan_sel

Definition at line 82 of file bflb_acomp.h.

◆ scaling_factor

uint8_t scaling_factor

Definition at line 85 of file bflb_acomp.h.

◆ vio_sel

uint8_t vio_sel

Definition at line 84 of file bflb_acomp.h.