English
Language : 

MC9S08JM16 Datasheet, PDF (264/386 Pages) Freescale Semiconductor, Inc – Microcontrollers
Serial Peripheral Interface (S08SPI16V1)
SPIxC2 = 0xC0(%11000000)
Bit 7
SPMIE
=1
Bit 6
SPIMODE = 1
Bit 5
=0
Bit 4
MODFEN = 0
Bit 3
BIDIROE = 0
Bit 2
=0
Bit 1
SPISWAI = 0
Bit 0
SPC0
=0
SPI hardware match interrupt enabled
Configures SPI for 16-bit mode
Unimplemented
Disables mode fault function
SPI data I/O pin acts as input
Unimplemented
SPI clocks operate in wait mode
uses separate pins for data input and output
SPIxBR = 0x00(%00000000)
Bit 7
=0
Bit 6:4
= 000
Bit 3
=0
Bit 2:0
= 000
Unimplemented
Sets prescale divisor to 1
Unimplemented
Sets baud rate divisor to 2
SPIxS = 0x00(%00000000)
Bit 7
SPRF
=0
Bit 6
SPMF
=0
Bit 5
SPTEF
=0
Bit 4
MODF
=0
Bit 3:0
=0
Flag is set when receive data buffer is full
Flag is set when SPIMH/L = receive data buffer
Flag is set when transmit data buffer is empty
Mode fault flag for master mode
Unimplemented
SPIxMH = 0xXX
In 16-bit mode, this register holds bits 8–15 of the hardware match buffer. In 8-bit mode, writes to this register will be
ignored.
SPIxML = 0xXX
Holds bits 0–7 of the hardware match buffer.
SPIxDH = 0xxx
In 16-bit mode, this register holds bits 8–15 of the data to be transmitted by the transmit buffer and received by the
receive buffer.
SPIxDL = 0xxx
Holds bits 0–7 of the data to be transmitted by the transmit buffer and received by the receive buffer.
MC9S08JM16 Series Data Sheet, Rev. 2
264
Freescale Semiconductor