MC68HC908AS60ACFN FREESCALE [Freescale Semiconductor, Inc], MC68HC908AS60ACFN Datasheet - Page 206

no-image

MC68HC908AS60ACFN

Manufacturer Part Number
MC68HC908AS60ACFN
Description
M68HC08 Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Serial Peripheral Interface (SPI)
The generic names of the SPI I/O registers are:
Table 19-2
19.4 Functional Description
Figure 19-1
The SPI module allows full-duplex, synchronous, serial communication between the MCU and peripheral
devices, including other MCUs. Software can poll the SPI status flags or SPI operation can be interrupt
driven. All SPI interrupts can be serviced by the CPU.
The following paragraphs describe the operation of the SPI module.
206
$0010
$0011
$0012
Addr
SPI control register (SPCR)
SPI status and control register (SPSCR)
SPI data register (SPDR)
SPI Status and Control Register
shows the names and the addresses of the SPI I/O registers.
Register Name
summarizes the SPI I/O registers and
SPI Control Register
SPI Data Register
MC68HC908AZ60A • MC68HC908AS60A • MC68HC908AS60E Data Sheet, Rev. 6
(SPSCR)
(SPCR)
(SPDR)
SPI Control Register (SPCR)
SPI Status and Control Register (SPSCR)
SPI Data Register (SPDR)
Reset:
Reset:
Reset:
R/W
Read:
Read:
Read:
Write:
Write:
Write:
Figure 19-1. SPI I/O Register Summary
Table 19-2. I/O Register Addresses
SPRIE
SPRF
Bit 7
R7
T7
R
0
0
Register Name
= Reserved
ERRIE
R6
T6
R
6
0
0
Figure 19-2
SPMSTR
OVRF
R5
T5
5
1
0
shows the structure of the SPI module.
Unaffected by Reset
MODF
CPOL
R4
T4
4
0
0
Address
$0010
$0011
$0012
= Unimplemented
CPHA
SPTE
R3
T3
3
1
1
MODFEN
SPWOM
R2
T2
2
0
0
Freescale Semiconductor
SPR1
SPE
R1
T1
1
0
0
SPTIE
SPR0
Bit 0
R0
T0
0
0

Related parts for MC68HC908AS60ACFN