IP2022 Data Sheet
www.ubicom.com
97
7.3.10 SxMODE Register
7.3.11 SxRCFG Register
7.3.12 SxRCNT Register
7
6
5
4
3
2
1
0
PRS3:0
SUBM1:0
CLKS1:0
Name
Description
PRS3:0
Protocol select. Unassigned encodings
are reserved.
0000 = Disabled
0001 = 10Base-T
0010 = USB Bus
0011 = UART
0100 = I2C
0101 = SPI/Microwire
SUBM1:0
Submode select (in USB mode):
01 = Low-speed USB interface
10 = High-speed USB interface
Submode select (in Microwire and SPI
modes):
00 = Receive on falling edge, trans-
mit on rising edge
01 = Receive on rising edge, trans-
mit on rising edge
10 = Receive on falling edge, trans-
mit on falling edge
11 = Receive on rising edge, trans-
mit on falling edge
CLKS1:0
Clock source select
00 =
Clock disabled
01 =
Reserved
10 =
OSC clock oscillator
11 =
PLL clock multiplier
7
6
5
4
0
Reserved SYNCMP RPOREV
RXSCNT4:0
Name
Description
SYNCMP
Synchronization pattern detection dis-
able bit
0 = Synchronization pattern
detection enabled
1 = Synchronization pattern
detection disabled
RPOREV
Receive data polarity reversal select
0 = Data polarity uninverted
1 = Data polarity inverted
RXSCNT4:0
Receive shift count, specifies number of
bits to receive
7
6
5
4
0
Reserved RxCRSCTRL1:0
RXACNT4:0
Name
Description
RxCRSCTRL1:0 Carrier sense status and interrupt
control
0x = No interrupt. Software can
poll the RXXCRS bit in the
SxINTF register for carrier
status.
10 = Intterupt on carrier detection
11 = Interrupt on loss of carrier
RXACNT4:0
Receive shift count, actual number
of bits received (read-only)