• Configuring the same pin as input and output
    Is it possible using the ARM9 to configure a pin as both input and output? I need to be able to write to it and then read from it. This would be done as an open collector configuration. I have tried...
  • Configuring the same pin as input and output
    Is it possible using the ARM9 to configure a pin as both input and output? I need to be able to write to it and then read from it. This would be done as an open collector configuration. I have tried...
  • explanation and pin configuration for code in lpc2148
    int x; PINSEL0 = (PINSEL0 & 0x3FFF3FF0) | 0x00000005; // Configure pins for touch screen PINSEL1 = (PINSEL1 & 0xC3FFFFFF) | 0x10000000; IO0DIR = (IO0DIR & 0xDFFF7F7F) | 0x00008080; IO0SET = IO0SET...
  • Can't read state of PIN configured for Capture
    I am using the MCB2140 which is built around the LPC2148 mcu. My application configures P0.2 to work as a capture pin(PINSEL0 = (PINSEL0 & 0xFFFFFFCF) | 0X20;). The Capture control register is setup...
  • explanation and pin configuration for code in lpc2148
    int x; PINSEL0 = (PINSEL0 & 0x3FFF3FF0) | 0x00000005; // Configure pins for touch screen PINSEL1 = (PINSEL1 & 0xC3FFFFFF) | 0x10000000; IO0DIR = (IO0DIR & 0xDFFF7F7F) | 0x00008080; IO0SET = IO0SET...