summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tms320dm320
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/tms320dm320')
-rw-r--r--firmware/target/arm/tms320dm320/mrobe-500/adc-mr500.c12
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