XC68HC05P18A Motorola, XC68HC05P18A Datasheet - Page 82

no-image

XC68HC05P18A

Manufacturer Part Number
XC68HC05P18A
Description
HCMOS Microcontroller Unit
Manufacturer
Motorola
Datasheet
Serial Input/Output Ports (SIOP)
9.4.2 SIOP Status Register
Technical Data
82
Address:
This register is located at address $000B and contains two bits.
Figure 9-4
the value of each bit after reset.
SPIF — Serial Port Interface Flag
DCOL — Data Collision Bit
Reset:
Read:
Write:
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 is
cleared by reading the SSR followed by a read or write of the SDR. 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.
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.
$000B
SPIF
Bit 7
0
Serial Input/Output Ports (SIOP)
shows the position of each bit in the register and indicates
Figure 9-4. SIOP Status Register (SSR)
= Unimplemented
DCOL
6
0
5
0
0
4
0
0
3
0
0
2
0
0
MC68HC05P18A
1
0
0
MOTOROLA
Bit 0
0
0

Related parts for XC68HC05P18A