diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2011-02-06 20:41:49 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2011-02-06 20:41:49 +0000 |
commit | f65365fc75889bb7e3640f5a9131c83a5ba10ad6 (patch) | |
tree | 5795579488a23a9854165f70b8c0c7271c21591b | |
parent | e932ceb78ab2ba5984147f94a0d223c56e4be6b5 (diff) | |
download | rockbox-f65365fc75889bb7e3640f5a9131c83a5ba10ad6.tar.gz rockbox-f65365fc75889bb7e3640f5a9131c83a5ba10ad6.zip |
M:Robe 500 ADC: Remove pin initializations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29230 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/target/arm/tms320dm320/mrobe-500/adc-mr500.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/firmware/target/arm/tms320dm320/mrobe-500/adc-mr500.c b/firmware/target/arm/tms320dm320/mrobe-500/adc-mr500.c index 11153f10d0..ba85749bad 100644 --- a/firmware/target/arm/tms320dm320/mrobe-500/adc-mr500.c +++ b/firmware/target/arm/tms320dm320/mrobe-500/adc-mr500.c | |||
@@ -33,15 +33,7 @@ void adc_init(void) | |||
33 | * touchscreen does not work, audio has not been tested, but it is | 33 | * touchscreen does not work, audio has not been tested, but it is |
34 | * expected that is will also not work when low. | 34 | * expected that is will also not work when low. |
35 | */ | 35 | */ |
36 | 36 | ||
37 | /* Setup touchscreen (tsc2100) pins: | ||
38 | * 14 - input, touchscreen irq | ||
39 | * 15 - output, touchscreen nPWD? */ | ||
40 | /* 14: input , non-inverted, irq, falling edge, no-chat, normal */ | ||
41 | dm320_set_io(14, true, false, true, false, false, 0x00); | ||
42 | |||
43 | /* 15: output, non-inverted, no-irq, falling edge, no-chat, normal */ | ||
44 | dm320_set_io(15, false, false, false, false, false, 0x00); | ||
45 | IO_GIO_BITSET0 = (1<<15); /* Turn on TSC2100 */ | 37 | IO_GIO_BITSET0 = (1<<15); /* Turn on TSC2100 */ |
46 | 38 | ||
47 | /* Initialize the touchscreen and the battery readout */ | 39 | /* Initialize the touchscreen and the battery readout */ |
@@ -64,6 +56,6 @@ void GIO14(void) | |||
64 | tsc2100_read_data(); | 56 | tsc2100_read_data(); |
65 | 57 | ||
66 | /* Stop the scan, firmware will initiate another scan with a mode set */ | 58 | /* Stop the scan, firmware will initiate another scan with a mode set */ |
67 | tsc2100_set_mode(true, 0x00); | 59 | tsc2100_set_mode(true, 0x00); |
68 | } | 60 | } |
69 | 61 | ||