mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
Move the PP5020 ADC defines to the c-file instead of repeating them across the header files. Also, the Tatung TPJ1022 should use the common PP5020 ADC driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19864 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a4e7bc383e
commit
04992ef050
7 changed files with 7 additions and 131 deletions
|
|
@ -21,12 +21,6 @@
|
|||
#ifndef _ADC_TARGET_H_
|
||||
#define _ADC_TARGET_H_
|
||||
|
||||
#define ADC_ADDR (*(volatile unsigned long*)(0x7000ad00))
|
||||
#define ADC_STATUS (*(volatile unsigned long*)(0x7000ad04))
|
||||
#define ADC_DATA_1 (*(volatile unsigned long*)(0x7000ad20))
|
||||
#define ADC_DATA_2 (*(volatile unsigned long*)(0x7000ad24))
|
||||
#define ADC_INIT (*(volatile unsigned long*)(0x7000ad2c))
|
||||
|
||||
#define NUM_ADC_CHANNELS 4
|
||||
|
||||
#define ADC_BATTERY 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue