hi all Help me out



hi everybody..
I am new in the Embedded programming ..
i am writting the keyboard driver for microprocessor..
the status of UART tells me if any data (from keyboard) received or not
from the flag register
the flag register is of 32 bit ...

1) How can i check the pericular bit in this register set or not?
2) the receiver buffer is of 32 bit but data from keyboard comes in
8bit format..
How can i seperate the 8bit from 32 bit receiver buffer?

plz help me out...

Thanks

.



Relevant Pages

  • Re: hi all Help me out
    ... i am writting the keyboard driver for microprocessor.. ... the flag register is of 32 bit ... ... How can i seperate the 8bit from 32 bit receiver buffer? ...
    (comp.arch.embedded)
  • Re: hi all Help me out
    ... unsigned int mask = 0x00000001; ... i am writting the keyboard driver for microprocessor.. ... the flag register is of 32 bit ... ... How can i seperate the 8bit from 32 bit receiver buffer? ...
    (comp.arch.embedded)
  • Re: hi all Help me out
    ... well i want to connect the processor with the keyboard using the RS232 ... the flag register is of 32 bit ... ... How can i seperate the 8bit from 32 bit receiver buffer? ...
    (comp.arch.embedded)
  • Re: PIC, Keyboard, and USART
    ... At this point I just want to get the keyboard codes into the pic and I just want to run this by you guys to make sure I'm on the right track. ... Basically you'd have to switch off the UART and put the pins into output mode for the handshakes etc, then switch back to UART again to receive or transmit. ... Just add the pull-up resistors, data line to UART RX, clock input not strictly necessary - until you want to transmit. ...
    (sci.electronics.basics)
  • Re: C Program to test ROM
    ... different addresses to the same memory location. ... A keyboard would need to have every key pressed to fully test. ... For a UART you can write and read back registers. ... operating system with memory protection, ...
    (comp.programming)