FreeCalypso > hg > fc-magnetite
comparison src/cs/drivers/drv_core/armio/armio.c @ 588:f2e752052db5
beginning of SE J100 target support
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 13 Mar 2019 18:08:34 +0000 |
parents | 6c96725718c3 |
children | 9b81b68e8e64 |
comparison
equal
deleted
inserted
replaced
587:36eb33f1d45a | 588:f2e752052db5 |
---|---|
235 AI_ConfigBitAsOutput(2); /* headset jack switch */ | 235 AI_ConfigBitAsOutput(2); /* headset jack switch */ |
236 AI_ConfigBitAsOutput(3); /* LCDA0 (?) */ | 236 AI_ConfigBitAsOutput(3); /* LCDA0 (?) */ |
237 AI_ConfigBitAsOutput(8); /* MUSIC_A0 */ | 237 AI_ConfigBitAsOutput(8); /* MUSIC_A0 */ |
238 AI_ConfigBitAsOutput(12); /* MUSIC_ON */ | 238 AI_ConfigBitAsOutput(12); /* MUSIC_ON */ |
239 | 239 |
240 #elif defined(CONFIG_TARGET_J100) | |
241 | |
242 /* GPIO out all zeros - the LCD backlight is OFF */ | |
243 *((volatile SYS_UWORD16 *) ARMIO_OUT) = 0x0000; | |
244 | |
245 AI_ConfigBitAsOutput(1); /* LCD backlight control */ | |
246 AI_ConfigBitAsOutput(3); /* LCDA0 (?) */ | |
247 | |
240 #elif defined(CONFIG_TARGET_PIRELLI) | 248 #elif defined(CONFIG_TARGET_PIRELLI) |
241 | 249 |
242 *((volatile SYS_UWORD16 *) ARMIO_OUT) = 0x0000; | 250 *((volatile SYS_UWORD16 *) ARMIO_OUT) = 0x0000; |
243 | 251 |
244 AI_ConfigBitAsOutput(1); | 252 AI_ConfigBitAsOutput(1); |