Microchip Technology MA160014 データシート

ページ / 560
 2010-2012 Microchip Technology Inc.
DS41412F-page 279
PIC18(L)F2X/4XK22
REGISTER 16-3:
BAUDCONX: BAUD RATE CONTROL REGISTER
R/W-0
R-1
R/W-0
R/W-0
R/W-0
U-0
R/W-0
R/W-0
ABDOVF
RCIDL
DTRXP
CKTXP
BRG16
WUE
ABDEN
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7
ABDOVF: Auto-Baud Detect Overflow bit
Asynchronous mode:
1
 = Auto-baud timer overflowed
0
 = Auto-baud timer did not overflow
Synchronous mode:
Don’t care
bit 6
RCIDL: Receive Idle Flag bit
Asynchronous mode:
1
 = Receiver is Idle
0
 = Start bit has been detected and the receiver is active
Synchronous mode:
Don’t care
bit 5
DTRXP: Data/Receive Polarity Select bit
Asynchronous mode:
1
 = Receive data (RXx) is inverted (active-low)
0
 = Receive data (RXx) is not inverted (active-high)
Synchronous mode:
1
 = Data (DTx) is inverted (active-low)
0
 = Data (DTx) is not inverted (active-high)
bit 4
CKTXP: Clock/Transmit Polarity Select bit
Asynchronous mode:
1
 = Idle state for transmit (TXx) is low
0
 = Idle state for transmit (TXx) is high
Synchronous mode:
1
 = Data changes on the falling edge of the clock and is sampled on the rising edge of the clock
0
 = Data changes on the rising edge of the clock and is sampled on the falling edge of the clock
bit 3
BRG16: 16-bit Baud Rate Generator bit
1
 = 16-bit Baud Rate Generator is used (SPBRGHx:SPBRGx)
0
 = 8-bit Baud Rate Generator is used (SPBRGx)
bit 2
Unimplemented: Read as ‘0’
bit 1
WUE: Wake-up Enable bit
Asynchronous mode:
1
 = Receiver is waiting for a falling edge. No character will be received but RCxIF will be set on the falling
edge. WUE will automatically clear on the rising edge.
0
 = Receiver is operating normally
Synchronous mode:
Don’t care
bit 0
ABDEN: Auto-Baud Detect Enable bit
Asynchronous mode:
1
 = Auto-Baud Detect mode is enabled (clears when auto-baud is complete)
0
 = Auto-Baud Detect mode is disabled
Synchronous mode:
Don’t care