Philips Semiconductors Product data sheet
SC28L202Dual UART
2005 Nov 01
46
IPCR Input Port Configuration Register
Bit 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
IPCR Delta
I/O 3A
Delta
I/O 2A
Delta
I/O 1A
Delta
I/O 0A
I/O 3A I/O 2A I/O 1A I/O 0A
0 = no change
1 = change
0 = no change
1 = change
0 = no change
1 = change
0 = no change
1 = change
0 = low
1 = High
0 = low
1 = High
0 = low
1 = High
0 = low
1 = High
IPCR [7:4] I/03A, I/O2 A, I/O1 A, I/O0 A Change–of–State
These bits are set when a change–of–state, as defined in the input
port section of this data sheet, occurs at the respective input pins.
They are cleared when the IPCR is read by the CPU. A read of
the IPCR also clears ISR [7], the input change bit in the interrupt
status register. The setting of these bits can be programmed to
generate an interrupt to the CPU.
IPCR [3:0] I/O3 A, I/O2 A, I/O1 A, I/O0 A logical level of I/O pin.
These bits provide the current state of the respective inputs. The
information is unlatched and reflects the state of the input pins at the
time the IPCR is read.
ACR Auxiliary Control Register
Bit 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
ACR
BRG SET
Select
Counter Timer Mode
and
clock source select
Delta
I/O3 A interrupt
enable
Delta
I/O2 A interrupt
enable
Delta
I/O1 A interrupt
enable
Delta
I/O0 A interrupt
enable
0 = set 1
1 = set 2
See Table 14 0 = off
1 = enabled
0 = off
1 = enabled
0 = off
1 = enabled
0 = off
1 = enabled
ACR[7] – Baud Rate Generator Set Select
This bit selects one of two sets of baud rates to be generated by the
BRG and it effects both channels. (see Table 13).
ACR[6:4] – Counter/Timer Mode And Clock Source Select
This field selects the operating mode of the counter/timer and its
clock source as shown in Table 14.
ACR[3:0] – I/O3 A, I/O2 A, I/O1 A, I/O0 A Change-of-State
Interrupt Enable
This field selects which bits of the input port change register (IPCR)
cause the input change bit in the interrupt status register (ISR [7]) to
be set. If a bit is in the ‘on’ state the setting of the corresponding bit
in the IPCR will also result in the setting of ISR[7], which results in
the generation of an interrupt output if IMR[7] = 1. If a bit is in the
‘off’ state, the setting of that bit in the IPCR has no effect on ISR[7].
Table 14. ACR 6:4 Field Definition
ACR(6:4) MODE CLOCK SOURCE
000 Counter External (I/02A)
001 Counter TxC A – 1X clock of Channel A
transmitter
010 Counter TxC B – 1X clock of Channel B
transmitter
011 Counter (X1/Sclk) clock divided by 16
100 Timer External (I/O 2A)
101 Timer External (I/O2 A) divided by 16
110 Timer Crystal or external clock (X1/Sclk)
111 Timer (X1/Sclk) clock divided by 16
NOTE: The timer mode generates a square wave.
Philips Semiconductors Product data sheet
SC28L202Dual UART
2005 Nov 01
47
ISR – Interrupt Status Register
This register provides the status of all potential interrupt sources. The contents of this register are masked by the Interrupt Mask Register (IMR).
If a bit in the ISR is a ‘1’ and the corresponding bit in the IMR is also a ‘1’ then INTRN output will be asserted (Low). If the corresponding bit in
the IMR is a zero the state of the bit in the ISR has no effect on the INTRN output. Note that the IMR does not mask the reading of the ISR – the
true status will be provided regardless of the contents of the IMR. The contents of this register are initialized to H‘00’ when the DUART is reset.
ISR Bit 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
INPUT
PORT
CHANGE
DELTA
Break B
RxRDY/
FFULL B
TxRDY B Counter
Ready
Delta
Break A
RxRDY/
FFULL A
TxRDY A
0=not enabled
1=enabled
0=not enabled
1=enabled
0=not enabled
1=enabled
0=not enabled
1=enabled
0=not enabled
1=enabled
0=not enabled
1=enabled
0=not enabled
1=enabled
0=not enabled
1=enabled
ISR[7] – Input Port Change Status
This bit is a ‘1’ when a change–of–state has occurred at the
I/O(3:0)A or B inputs and that event has been selected to cause an
interrupt by the programming of ACR[3:0]. The bit is cleared when
the CPU reads the IPCR.
ISR[6] – Channel B Change In Break
This bit, when set, indicates that the Channel B receiver has
detected the beginning or the end of a received break. It is reset
when the CPU issues a Channel B ‘reset break change interrupt’
command.
ISR[5] – Rx B Interrupt
This bit indicates that the channel B receiver is interrupting
according to the fill level programmed by the MR0 and MR1
registers. This bit has a different meaning than the receiver
ready/full bit in the status register.
ISR[4] – Tx B Interrupt
This bit indicates that the channel B transmitter is interrupting
according to the interrupt level programmed in the MR0[5:4] bits.
This bit has a different meaning than the Tx RDY bit in the status
register.
ISR[3] – Counter Ready.
In the counter mode, this bit is set when the counter reaches
terminal count and is reset when the counter is stopped by a stop
counter command.
In the timer mode, this bit is set once each cycle of the generated
square wave (every other time that the counter/timer reaches zero
count). The bit is reset by a stop counter command. The command,
however, does not stop the counter/timer.
ISR[2] – Channel A Change in Break
This bit, when set, indicates that the Channel A receiver has
detected the beginning or the end of a received break. It is reset
when the CPU issues a Channel A ‘reset break change interrupt’
command.
ISR[1] – Rx A Interrupt
This bit indicates that the channel A receiver is interrupting
according to the fill level programmed by the MR0 and MR1
registers. This bit has a different meaning than the receiver
ready/full bit in the status register.
ISR[0] – Tx A Interrupt
This bit indicates that the channel A transmitter is interrupting
according to the interrupt level programmed in the MR0[5:4] bits.
This bit has a different meaning than the Tx RDY bit in the status
register.
Philips Semiconductors Product data sheet
SC28L202Dual UART
2005 Nov 01
48
IMR – Interrupt Mask Register
The programming of this register selects which bits in the ISR causes an interrupt output. If a bit in the ISR is a ‘1’ and the corresponding bit in
the IMR is also a ‘1’ the INTRN output will be asserted. If the corresponding bit in the IMR is a zero, the state of the bit in the ISR has no effect
on the INTRN output. Note that the IMR does not mask the programmable interrupt outputs I/O3 B–I/O7 B or the reading of the ISR.
IMR
Bit 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
INPUT PORT
CHANGE
Delta
Break B
RxRDY/
FFULL B
TxRDY B Counter
Ready
Delta
Break A
RxRDY/
FFULL A
TxRDY A
0=not
enabled
1=enabled
0=not
enabled
1=enabled
0=not
enabled
1=enabled
0=not
enabled
1=enabled
0=not
enabled
1=enabled
0=not
enabled
1=enabled
0=not
enabled
1=enabled
0=not
enabled
1=enabled
CTPU Counter Timer Preset Upper (Counter/Timer 0)
CPTU
Bit 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
The upper eight (8) bits for the 16 bit counter timer preset register
CTPL Counter –Timer Preset Lower (Counter/Timer 0)
CTPL
Bit 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
The lower eight (8) bits for the 16 bit counter timer preset register
CTVU Counter Timer Value Upper (Counter/Timer 0)
CPVL
Bit 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
The lower eight (8) bits for the 16 bit counter timer value
CTVL Counter –Timer Value Lower (Counter/Timer 0)
CTVL
Bit 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
The lower eight (8) bits for the 16 bit counter timer value register
Only the counter/timer 0 is available in the low order 16–position address map. Issuing the start command loads the C/T with the preset value.
The Stop command resets the C/T ready bit in the ISR (Interrupt status Register) and captures the C/T value in the output latches of the C/T. In
the special time out mode the start and stop commands are ignored. The ‘start command is executed by a read at address 0xE; the stop at 0xF.
IVR Interrupt Vector register in 68K mode and General purpose read write register in the x86 mode
IVR
Bit 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
The eight (8) bits of the interrupt vector in the 68K mode.
IPR Input Port Register I/O(6:0) A
IPR
Bit 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
Logical levels or the I/O[6:0] A, Bit 7 read as ‘1’

SC28L202A1DGG,129

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
UART Interface IC 3-5V 2CH UART 3MBPS
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union