English
Language : 

MAX157 Datasheet, PDF (14/16 Pages) Maxim Integrated Products – Dual-Channel CardBus and PCMCIA VCC/VPP Power-Switching Networks
+2.7V, Low-Power, 2-Channel,
108ksps, Serial 10-Bit ADCs in 8-Pin µMAX
Table 2. Detailed SSPCON Register Content
CONTROL BIT
WCOL
SSPOV
Bit 7
Bit 6
SSPEN Bit 5
CKP
SSPM3
SSPM2
SSPM1
SSPM0
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
MAX157/MAX159
SETTINGS
SYNCHRONOUS SERIAL PORT CONTROL REGISTER (SSPCON)
X
Write Collision Detection Bit
X
Receive Overflow Detect Bit
Synchronous Serial Port Enable Bit
1
0: Disables serial port and configures these pins as I/O port pins.
1: Enables serial port and configures SCK, SDO and SCI pins as serial port pins.
0
Clock Polarity Select Bit. CKP = 0 for SPI master mode selection.
0
0
Synchronous Serial Port Mode Select Bit. Sets SPI master mode and selects
0
fCLK = fOSC / 16.
1
X = Don’t care
Table 3. Detailed SSPSTAT Register Content
CONTROL BIT
SMP
CKE
D/A
P
S
R/W
UA
BF
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
MAX157/MAX159
SETTINGS
SYNCHRONOUS SERIAL STATUS REGISTER (SSPSTAT)
0
SPI Data Input Sample Phase. Input data is sampled at the middle of the data output
time.
1
SPI Clock Edge Select Bit. Data will be transmitted on the rising edge of the serial clock.
X
Data Address Bit
X
Stop Bit
X
Start Bit
X
Read/Write Bit Information
X
Update Address
X
Buffer Full Status Bit
X = Don’t care
14 ______________________________________________________________________________________