8-bit AVR Microcontrollers

Data Reception – The USART Receiver

The USART receiver is enabled by writing the Receive Enable (RXEN) bit in the UCSRnB Register to '1'. When the receiver is enabled, the normal pin operation of the RxDn pin is overridden by the USART and given the function as the receiver’s serial input. The baud rate, mode of operation and frame format must be set up once before any serial reception can be done. If synchronous operation is used, the clock on the XCKn pin will be used as transfer clock.