English
Language : 

PIC24F04KA201 Datasheet, PDF (138/224 Pages) Microchip Technology – 14/20-Pin General Purpose, 16-Bit Flash Microcontrollers with nanoWatt XLP™ Technology
PIC24F04KA201 FAMILY
REGISTER 17-1: U1MODE: UART1 MODE REGISTER
R/W-0
U-0
UARTEN
—
bit 15
R/W-0
R/W-0
R/W-0
U-0
R/W-0(2)
R/W-0(2)
USIDL
IREN(1)
RTSMD
—
UEN1
UEN0
bit 8
R/C-0, HC
WAKE
bit 7
R/W-0
LPBACK
R/W-0, HC
ABAUD
R/W-0
RXINV
R/W-0
BRGH
R/W-0
PDSEL1
R/W-0
PDSEL0
R/W-0
STSEL
bit 0
Legend:
R = Readable bit
-n = Value at POR
C = Clearable bit
W = Writable bit
‘1’ = Bit is set
HC = Hardware Clearable bit
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 15
bit 14
bit 13
bit 12
bit 11
bit 10
bit 9-8
bit 7
bit 6
bit 5
bit 4
UARTEN: UART1 Enable bit
1 = UART1 is enabled; all UART1 pins are controlled by UART1 as defined by UEN<1:0>
0 = UART1 is disabled; all UART1 pins are controlled by port latches; UART1 power consumption is
minimal
Unimplemented: Read as ‘0’
USIDL: Stop in Idle Mode bit
1 = Discontinue module operation when device enters Idle mode
0 = Continue module operation in Idle mode
IREN: IrDA® Encoder and Decoder Enable bit(1)
1 = IrDA encoder and decoder enabled
0 = IrDA encoder and decoder disabled
RTSMD: Mode Selection for U1RTS Pin bit
1 = U1RTS pin in Simplex mode
0 = U1RTS pin in Flow Control mode
Unimplemented: Read as ‘0’
UEN<1:0>: UART1 Enable bits(2)
11 = U1TX, U1RX and U1BCLK pins are enabled and used; U1CTS pin controlled by port latches
10 = U1TX, U1RX, U1CTS and U1RTS pins are enabled and used
01 = U1TX, U1RX and U1RTS pins are enabled and used; U1CTS pin controlled by port latches
00 = U1TX and UxRX pins are enabled and used; U1CTS and U1RTS/U1BCLK pins controlled by port
latches
WAKE: Wake-up on Start Bit Detect During Sleep Mode Enable bit
1 = UART1 will continue to sample the U1RX pin; interrupt generated on falling edge, bit cleared in
hardware on following rising edge
0 = No wake-up enabled
LPBACK: UART1 Loopback Mode Select bit
1 = Enable Loopback mode
0 = Loopback mode is disabled
ABAUD: Auto-Baud Enable bit
1 = Enable baud rate measurement on the next character – requires reception of a Sync field (55h);
cleared in hardware upon completion
0 = Baud rate measurement disabled or completed
RXINV: Receive Polarity Inversion bit
1 = U1RX Idle state is ‘0’
0 = U1RX Idle state is ‘1’
Note 1: This feature is only available for the 16x BRG mode (BRGH = 0).
2: Bit availability depends on pin availability.
DS39937B-page 136
Preliminary
© 2009 Microchip Technology Inc.