Quantcast
Channel: ARM Connected Community : All Content - All Communities
Viewing all articles
Browse latest Browse all 3617

Data writtem to SPDR register in LPC2148 is not getting reflected in that particular register

$
0
0
char write_Byte(char data) {   unsigned char LC[1];   delay(1000000);   S0SPDR = data;   while(!((S0SPSR & 0x80) == 0x80)); // Wait for the transfer to finish   return S0SPDR;  // Data from Slave }   This is

Viewing all articles
Browse latest Browse all 3617

Trending Articles