adc_ll_digi_set_output_format() function
Set adc output 16-bit-data format from digital controller.
Syntax
static inline void adc_ll_digi_set_output_format(bool data_sel); Arguments
data_sel
1: [15] unit, [14:11] channel, [10:0] data, 11-bit-width at most. Only work under `ADC_LL_DIGI_CONV_BOTH_UNIT` or `ADC_LL_DIGI_CONV_ALTER_UNIT` mode. 0: [15:12] channel, [11:0] data, 12-bit-width at most. Only work under `ADC_LL_DIGI_CONV_ONLY_ADC1` or `ADC_LL_DIGI_CONV_ONLY_ADC2` mode
Notes
see `adc_ll_digi_pattern_table_t` for more detail of data bit width
![]()
static inline void adc_ll_digi_set_output_format(bool data_sel)
adc_ll_digi_set_output_format() is called by 1 function:
![]()
adc_ll_digi_set_output_format()
adc_ll_digi_set_output_format() reads 2 variables and writes 1 variable:
![]()
adc_ll_digi_set_output_format()