mc68hc05jp6pe Freescale Semiconductor, Inc, mc68hc05jp6pe Datasheet - Page 144

no-image

mc68hc05jp6pe

Manufacturer Part Number
mc68hc05jp6pe
Description
M68hc05 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Simple Serial Interface
9.4.2 SIOP Status Register
General Release Specification
144
The SIOP status register (SSR) is located at address $000B and
contains two read-only bits.
the register and indicates the value of each bit after reset.
SPIF — Serial Port Interrupt Flag
DCOL — Data Collision
$000B
Reset:
Read:
Write:
The SPIF is a read-only status bit that is set on the last rising edge of
SCK and indicates that a data transfer has been completed. It has no
effect on any future data transfers and can be ignored. The SPIF bit
can be cleared by reading the SSR followed by a read or write of the
SDR or by writing a logical one to the SPIR bit in the SCR. If the SPIF
is cleared before the last rising edge of SCK it will be set again on the
last rising edge of SCK. Reset clears the SPIF bit.
The DCOL is a read-only status bit which indicates that an illegal
access of the SDR has occurred. The DCOL bit will be set when
reading or writing the SDR after the first falling edge of SCK and
before SPIF is set. Reading or writing the SDR during this time will
result in invalid data being transmitted or received. The DCOL bit is
cleared by reading the SSR (when the SPIF bit is set) followed by a
read or write of the SDR. If the last part of the clearing sequence is
done after another transfer has started, the DCOL bit will be set again.
Reset clears the DCOL bit.
1 = Serial transfer complete, serial interrupt if the SPIE bit in SCR
0 = Serial transfer in progress or serial interface idle
1 = Illegal access of the SDR occurred
0 = No illegal access of the SDR detected
SPIF
Bit 7
is set
0
Figure 9-5. SIOP Status Register (SSR)
Simple Serial Interface
= Unimplemented
DCOL
6
0
5
0
0
Figure 9-5
4
0
0
MC68HC05JJ6/MC68HC05JP6
shows the position of each bit in
3
0
0
Freescale Semiconductor
2
0
0
1
0
0
Rev. 3.2
Bit 0
0
0

Related parts for mc68hc05jp6pe