The EUSART receiver is enabled for asynchronous operation by configuring the following three control bits:
1
(enables the receiver circuitry of the
EUSART)0
(configures the EUSART for
asynchronous operation)1
(enables the EUSART)All other EUSART control bits are assumed to be in their default state.
The user must set the RXxPPS register to select the RXx/DTx I/O pin and set the corresponding TRIS bit to configure the pin as an input.