Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: explanation and pin configuration for code in lpc2148 (3 Replies)

$
0
0
int x; PINSEL0 = (PINSEL0 & 0x3FFF3FF0) | 0x00000005; // Configure pins for touch screen PINSEL1 = (PINSEL1 & 0xC3FFFFFF) | 0x10000000; IO0DIR = (IO0DIR & 0xDFFF7F7F) | 0x00008080; IO0SET = IO0SET | 0x00000080; // Set pin to '1' IO0CLR = IO0CLR | 0x00008000; // Set pin to '0' AD0CR = ( AD0CR & 0xFFD00000 ) | 0x00200208 ; // Start the ADC can anyone tell me the pins I need to connect in my board according to

Viewing all articles
Browse latest Browse all 3049

Trending Articles