In the trunk:
void adcSTM32EnableVREF(ADCDriver *adcp) {
adcp->adcc->CCR |= ADC_CCR_VBATEN;
}
and
void adcSTM32DisableVREF(ADCDriver *adcp) {
adcp->adcc->CCR &= ~ADC_CCR_VBATEN;
}
should both be using ADC_CCR_VREFEN
On an unrelated note: What happened to <code> ....<\code> ?
Bug in ports/STM32/LLD/ADCv3/hal_adc_lld.c Topic is solved
- RoccoMarco
- Posts: 655
- Joined: Wed Apr 24, 2013 4:11 pm
- Location: Munich (Germany)
- Has thanked: 83 times
- Been thanked: 67 times
- Contact:
- RoccoMarco
- Posts: 655
- Joined: Wed Apr 24, 2013 4:11 pm
- Location: Munich (Germany)
- Has thanked: 83 times
- Been thanked: 67 times
- Contact:
Re: Bug in ports/STM32/LLD/ADCv3/hal_adc_lld.c Topic is solved
Thanks Dwar,
fixed as bug #740 in trunk and backported in stable 16.1.5.
Ciao,
RM
fixed as bug #740 in trunk and backported in stable 16.1.5.
Ciao,
RM
Who is online
Users browsing this forum: No registered users and 24 guests