Datasheet

Programming PIC Microcontrollers in BASIC - mikroElektronika
const CAN_MODE_LOOP = $40
const CAN_MODE_LISTEN = $60
const CAN_MODE_CONFIG = $80
CAN_TX_MSG_FLAGS
These constant values define flags related to transmission of a CAN message. There could be more than one this flag ANDed
together to form multiple flags.
const CAN_TX_PRIORITY_BITS = $03
const CAN_TX_PRIORITY_0 = $FC ' XXXXXX00
const CAN_TX_PRIORITY_1 = $FD ' XXXXXX01
const CAN_TX_PRIORITY_2 = $FE ' XXXXXX10
const CAN_TX_PRIORITY_3 = $FF ' XXXXXX11
const CAN_TX_FRAME_BIT = $08
const CAN_TX_STD_FRAME = $FF ' XXXXX1XX
const CAN_TX_XTD_FRAME = $F7 ' XXXXX0XX
const CAN_TX_RTR_BIT = $40
const CAN_TX_NO_RTR_FRAME = $FF ' X1XXXXXX
const CAN_TX_RTR_FRAME = $BF ' X0XXXXXX
CAN_RX_MSG_FLAGS
http://www.mikroelektronika.co.yu/english/product/books/picbasicbook/05.htm (24 sur 112)05/11/2004 02:20:52