DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC18F258-I/SP 查看數據表(PDF) - Microchip Technology

零件编号
产品描述 (功能)
生产厂家
PIC18F258-I/SP Datasheet PDF : 402 Pages
First Prev 231 232 233 234 235 236 237 238 239 240 Next Last
PIC18FXX8
FIGURE 19-3:
INTERNAL TRANSMIT MESSAGE FLOWCHART
Start
No
Are any
TXREQ
bits = 1?
The message transmission sequence begins when
the device determines that the TXREQ for any of the
transmit registers has been set.
Yes
Clear: TXABT, TXLARB
and TXERR
Clearing the TXREQ bit while it is set, or setting
the ABAT bit before the message has started
transmission, will abort the message.
Is CAN bus
No
Available to Start
Transmission?
Yes
Examine TXPRI <1:0> to
Determine Highest Priority Message
Begin Transmission (SOF)
No
Is
Yes
TXREQ = 0
ABAT = 1?
Was
No
Message Transmitted
Successfully?
Set
TXERR = 1
Yes
Set TXREQ = 0
Yes
Generate
Interrupt
Is
TXIE = 1?
No
Set
TXBUFE = 1
The TXIE bit determines if an inter-
rupt should be generated when a
message is successfully transmitted.
Is
TXLARB = 1?
A message can also be No
aborted if a message
error or lost arbitration
condition occurred during
transmission.
Is
TXREQ = 0
or TXABT = 1?
No
Yes Arbitration Lost During
Transmission
Yes
Abort Transmission:
Set TXABT = 1
END
© 2006 Microchip Technology Inc.
DS41159E-page 229

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]