Datasheet
____________________________________________________ DS34T101, DS34T102, DS34T104, DS34T108
133 of 366
Figure 10-67. Transmit HDLC Servicing Example
Reset Transmit
HDLC Controlle
r
(THC1.THR)
Configure Transmit
HDLC Controlle
r
(THC1,THC2,THBSE,THFC)
TLWM
Interrupt?
Enable TMEND
Interrupt
No Action Required
Work Another Process
Enable TLWM
Interrupt and
Verify TLWM Clea
r
Read TFBA
N = TFBA[6:0]
Push Message Byte
into Tx HDLC FIFO
(THF)
Last Byte o
f
Message?
YES
NO
Set THC1.TEOM
Push Last Byte
into Tx FIFO
Loop N
TMEND
Interrupt?
YES
Read TUDR
Status Bit
TUDR = 1
YES
Disable TMEND Interrupt
Resend Message
Disable TMEND Interrupt
Prepare New
Message
YES
NO
NO
NO
A
A
A
(THF)










