Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
en:xu3_hardware_adc [2016/01/22 10:20] odroid [Using mmap] |
en:xu3_hardware_adc [2016/12/19 16:03] (current) charles.park [Using mmap] |
||
---|---|---|---|
Line 84: | Line 84: | ||
{ | { | ||
// End of A/D conversion | // End of A/D conversion | ||
- | if (*(adc + (ADC_V2_STAT >> 2)) && 4) { | + | if (*(adc + (ADC_V2_STAT >> 2)) & 4) { |
/* Read value */ | /* Read value */ | ||
if (channel == 0x0) { | if (channel == 0x0) { |