High-Level Data Link Control (HDLC)
15-20
Am186™CC/CH/CU Microcontrollers User’s Manual
15.5.7
Interrupts
All interrupts are individually maskable. Set the status bits in the HxISTAT0 and HxISTAT1
registers. Mask interrupts in the HxIMSK0 and HxIMSK1 registers.
15.5.7.1
Transmit Interrupts
The microcontroller provides the following transmit interrupts:
■
Transmit threshold reached
■
Data byte available
■
Abort sent
■
Lost CTS
■
Transmit FIFO underflow
■
Good frame transmitted
■
Transmitter stopped
15.5.7.2
Receive Interrupts
The microcontroller provides the following receive interrupts:
■
Receive threshold reached
■
Receive status available
■
Data byte available
■
Short frame counter rollover
■
Mismatch address counter rollover
■
Receive FIFO overflow
■
Flag idle state entered
■
Mark idle state entered
■
Abort state entered
■
In-frame state entered
■
RTR deasserted
■
Short frame detected
■
Very short frame detected
15.5.8
Hardware-Related Considerations
■
The Receive Threshold (RTHRSH) bits in the HDLC Channel Receive Control 0
(HxRCON0) register specify the amount of data needed in the receive FIFO before giving
an interrupt. The possible values are: 1, 8, 16, or 32 bytes. The Receive FIFO Threshold
Reached (RTHRES) bit in the HxISTAT0 register can generate an interrupt if this
programmed threshold has been reached or exceeded in the receive FIFO and there
were no status bytes present in the FIFO at that time. When RTHRES is set by hardware,
the receiver reads the threshold value from the FIFO without rechecking the status. If a
status byte is put into the FIFO after the RTHRES bit is set, after the first read of the
FIFO the receiver clears the bit, even if there is still a threshold number of data bytes in
the receive FIFO. Therefore, when the RTHRES bit is set, the receiver can read the
threshold number of data bytes consecutively.
Содержание Am186 CC
Страница 1: ...Am186 CC CH CU Microcontrollers User s Manual Order 21914B...
Страница 4: ...iv Am186 CC CH CU Microcontrollers User s Manual...
Страница 18: ...Table of Contents xviii Am186 CC CH CU Microcontrollers User s Manual...
Страница 24: ...Introduction xxiv Am186 CC CH CU Microcontrollers User s Manual...
Страница 39: ...Architectural Overview Am186 CC CH CU Microcontrollers User s Manual 1 15 Figure 1 6 32 Channel Linecard CH CC...
Страница 40: ...Architectural Overview 1 16 Am186 CC CH CU Microcontrollers User s Manual...
Страница 86: ...System Overview 3 36 Am186 CC CH CU Microcontrollers User s Manual...
Страница 92: ...Emulator Support 4 6 Am186 CC CH CU Microcontrollers User s Manual...
Страница 112: ...DRAM Controller 6 8 Am186 CC CH CU Microcontrollers User s Manual...
Страница 134: ...Interrupts 7 22 Am186 CC CH CU Microcontrollers User s Manual...
Страница 186: ...Programmable I O Signals 9 8 Am186 CC CH CU Microcontrollers User s Manual...
Страница 200: ...Watchdog Timer 11 6 Am186 CC CH CU Microcontrollers User s Manual...
Страница 232: ...Asynchronous Serial Ports UARTs 13 24 Am186 CC CH CU Microcontrollers User s Manual...
Страница 242: ...Synchronous Serial Port SSI 14 10 Am186 CC CH CU Microcontrollers User s Manual...
Страница 264: ...High Level Data Link Control HDLC 15 22 Am186 CC CH CU Microcontrollers User s Manual...
Страница 332: ...Universal Serial Bus USB 18 34 Am186 CC CH CU Microcontrollers User s Manual...
Страница 348: ...Register Summary A 16 Am186 CC CH CU Microcontrollers User s Manual...
Страница 376: ...Index Index 18 Am186 CC CH CU Microcontrollers User s Manual...