PDA

View Full Version : Bit order for HSEROUT[A]



BrianT
- 2nd October 2012, 01:40
I have scanned the PIC18F4620 datasheet and the PBP3 manual and I can't find a description of the bit order used by the HSEROUT [A] command. Does it send A.0 first or A.7? I know I could set up a quick piece of test code but I am away from my development system right now.

Thank you
BrianT

Darrel Taylor
- 2nd October 2012, 03:47
I think the easiest way to gleen that information from the datasheet is to look at the USART's block diagram.
Data is shifted out in the direction of the red arrow.

http://support.melabs.com/DT/USART_DIR.gif