Rev 792 | Rev 794 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 792 | Rev 793 | ||
|---|---|---|---|
| Line 32... | Line 32... | ||
| 32 | 32 | ||
| 33 | return 0; |
33 | return 0; |
| 34 | } |
34 | } |
| 35 | 35 | ||
| 36 | /* |
36 | /* |
| 37 | * Start reading adc value |
37 | * Start reading adc value. |
| 38 | */ |
38 | */ |
| 39 | uint16_t ADC_Get(uint8_t channel) |
39 | uint16_t ADC_Get(uint8_t channel) |
| 40 | { |
40 | { |
| 41 | uint16_t adcdata; |
41 | uint16_t adcdata; |
| 42 | 42 | ||