English
Language : 

MC68HC908LJ12 Datasheet, PDF (248/413 Pages) Freescale Semiconductor, Inc – 8-bit microcontroller units
Infrared Serial Communications Interface Module (IRSCI)
13.9 SCI During Break Module Interrupts
The system integration module (SIM) controls whether status bits in other
modules can be cleared during interrupts generated by the break
module. The BCFE bit in the SIM break flag control register (SBFCR)
enables software to clear status bits during the break state.
To allow software to clear status bits during a break interrupt, write a
logic 1 to the BCFE bit. If a status bit is cleared during the break state, it
remains cleared when the MCU exits the break state.
To protect status bits during the break state, write a logic 0 to the BCFE
bit. With BCFE at logic 0 (its default state), software can read and write
I/O registers during the break state without affecting status bits. Some
status bits have a two-step read/write clearing procedure. If software
does the first step on such a bit before the break, the bit cannot change
during the break state as long as BCFE is at logic 0. After the break,
doing the second step clears the status bit.
13.10 I/O Signals
The two IRSCI I/O pins are:
• PTB0/TxD — Transmit data
• PTB1/RxD — Receive data
13.10.1 PTB0/TxD (Transmit Data)
The PTB0/TxD pin is the serial data (standard or infrared) output from
the SCI transmitter. The IRSCI shares the PTB0/TxD pin with port B.
When the IRSCI is enabled, the PTB0/TxD pin is an output regardless of
the state of the DDRB0 bit in data direction register B (DDRB). TxD pin
has high current (15mA) sink capability when the LEDB0 bit is set in the
port B LED control register ($000C).
13.10.2 PTB1/RxD (Receive Data)
The PTB1/RxD pin is the serial data input to the IRSCI receiver. The
IRSCI shares the PTB1/RxD pin with port B. When the IRSCI is enabled,
the PTB1/RxD pin is an input regardless of the state of the DDRB1 bit in
data direction register B (DDRB).
MC68HC908LJ12 — Rev. 2.1
Freescale Semiconductor Infrared Serial Communications Interface Module (IRSCI)
Technical Data
249