English
Language : 

DS80C390_00 Datasheet, PDF (84/155 Pages) Dallas Semiconductor – High-Speed Microcontroller User’s Guide Supplement
TXS
Bit 3
DS80C390 High-Speed Microcontroller User’s Guide Supplement
CAN 1 Transmit Status. This bit indicates whether or not one or more messages
have been successfully transmitted since the last read of the CAN 1 Status
Register. TXS is only set by the CAN 1 logic and is not cleared by the CAN
controller but is only cleared via software, the CRST bit, or a system Reset.
1 = A message has been successfully transmitted by CAN 1 (error free and
acknowledged) since the last read of the CAN 1 Status Register.
0 = No messages have been successfully transmitted since the last read of the
CAN 1 Status Register.
When STIE= 1 and the TXS bit transitions from 0 to 1, the CAN 1 Interrupt
Register (C1IE;A5h) will change to 01h to indicate a pending interrupt due to a
change in the CAN Status Register. Reading any bit in the C1S register will clear
the pending interrupt, causing the C1IE register to change to 00h if no interrupts
are pending or the appropriate value if a lower priority message center interrupt is
pending. If a second successful reception is detected prior to or after the clearing
of the RXS bit in the Status Register, a second status change interrupt flag will be
set, issuing a second interrupt. Each new successful reception will generate an
interrupt request independent of the previous state of the RXS bit, as long as the
CAN Status Register has been read to clear the previous status change interrupt
flag. Note that if software changes TXS from 0 to 1, an artificial Status Change
Interrupt (STIE=1) will be generated. Thus, if TXS was previously set to 0 and a
reception was successful, TXS will be set to 1 and an enabled interrupt may be
asserted. An interrupt may be asserted (if enabled) if software changes TXS from
0 to 1. If TXS was previously set to 1 and a reception was successful, TXS
remains set and an interrupt may be asserted if enabled. No interrupt will be
asserted if software attempts to set TXS while it is already set.
84 of 155