English
Language : 

MC9S12KG128_10 Datasheet, PDF (362/606 Pages) Freescale Semiconductor, Inc – HCS12 Microcontrollers
Chapter 11 Serial Peripheral Interface (SPIV3) Block Description
11.3.2 Register Descriptions
This section consists of register descriptions in address order. Each description includes a standard register
diagram with an associated figure number. Details of register bit and field function follow the register
diagrams, in bit order.
Name
0x0000
SPICR1
7
R
SPIE
W
6
SPE
5
SPTIE
4
MSTR
3
CPOL
2
CPHA
1
SSOE
0
LSBFE
0x0001
R
0
0
0
0
SPICR2
W
MODFEN BIDIROE
SPISWAI SPC0
0x0002
SPIBR
R
0
0
SPPR2 SPPR1 SPPR0
W
SPR2
SPR1
SPR0
0x0003
R SPIF
0
SPTEF MODF
0
0
0
0
SPISR
W
0x0004
R
Reserved
W
0x0005
R
SPIDR
Bit 7
W
6
5
4
3
2
2
Bit 0
0x0006
R
Reserved
W
0x0007
R
Reserved
W
= Unimplemented or Reserved
Figure 11-2. SPI Register Summary
11.3.2.1 SPI Control Register 1 (SPICR1)
Module Base 0x0000
R
W
Reset
7
SPIE
0
Read: anytime
Write: anytime
6
SPE
5
SPTIE
4
MSTR
3
CPOL
2
CPHA
0
0
0
0
1
Figure 11-3. SPI Control Register 1 (SPICR1)
1
SSOE
0
0
LSBFE
0
MC9S12KG128 Data Sheet, Rev. 1.16
362
Freescale Semiconductor