Korenix | Korenix Library Reference
13
Note 6: More information of Status is given in the data sheet of SJA 1000 in
section 6.4.3 Mod Register (MOD).
Can_Set_BTR
void Can_Set_BTR(BYTE BTR0, BYTE BTR1)
Parameters
BTR0
BUS TIMING REGISTER 0
BTR1
BUS TIMING REGISTER 1
This function only sets the baud rate to CAN controller.
Can_Set_Command
void Can_Set_Command(BYTE bCmd)
Parameters
bCmd
Command mode
Description
Value
CLEAR_DATA_OVERRUN
0x08
RELEASE_RECEIVE_BUFFER
0x04
ABORT_TRANSMISSION
0x02
TRANSMISSION_REQUEST
0x01
Note 7: More information of Status is given in the data sheet of SJA 1000 in
section 6.4.4 Command Register (CMR).
StockCheck.com