feat(rng): add comment of reserved channel in RNG

This commit is contained in:
gaoxu
2025-03-26 14:52:59 +08:00
parent 09dbbe4452
commit 32b7347965
5 changed files with 8 additions and 8 deletions

View File

@@ -31,7 +31,7 @@ void bootloader_random_enable(void)
adc_ll_digi_set_pattern_table(ADC_UNIT_1, 0, pattern_config);
pattern_config.unit = ADC_UNIT_2;
pattern_config.atten = ADC_ATTEN_DB_2_5;
pattern_config.channel = ADC_CHANNEL_1;
pattern_config.channel = ADC_CHANNEL_1; //Use reserved ADC2 and reserved channel to get internal voltage
adc_ll_digi_set_pattern_table(ADC_UNIT_2, 1, pattern_config);
adc_ll_digi_set_pattern_table_len(ADC_UNIT_1, 1);