PicoLowLevel
|
Go to the source code of this file.
Classes | |
class | MCP2515 |
Enumerations | |
enum | CAN_CLOCK { MCP_20MHZ , MCP_16MHZ , MCP_8MHZ } |
enum | CAN_SPEED { CAN_5KBPS , CAN_10KBPS , CAN_20KBPS , CAN_31K25BPS , CAN_33KBPS , CAN_40KBPS , CAN_50KBPS , CAN_80KBPS , CAN_83K3BPS , CAN_95KBPS , CAN_100KBPS , CAN_125KBPS , CAN_200KBPS , CAN_250KBPS , CAN_500KBPS , CAN_1000KBPS } |
enum | CAN_CLKOUT { CLKOUT_DISABLE = -1 , CLKOUT_DIV1 = 0x0 , CLKOUT_DIV2 = 0x1 , CLKOUT_DIV4 = 0x2 , CLKOUT_DIV8 = 0x3 } |
#define MCP_16MHz_1000kBPS_CFG1 (0x00) |
#define MCP_16MHz_1000kBPS_CFG2 (0xD0) |
#define MCP_16MHz_1000kBPS_CFG3 (0x82) |
#define MCP_16MHz_100kBPS_CFG1 (0x03) |
#define MCP_16MHz_100kBPS_CFG2 (0xFA) |
#define MCP_16MHz_100kBPS_CFG3 (0x87) |
#define MCP_16MHz_10kBPS_CFG1 (0x1F) |
#define MCP_16MHz_10kBPS_CFG2 (0xFF) |
#define MCP_16MHz_10kBPS_CFG3 (0x87) |
#define MCP_16MHz_125kBPS_CFG1 (0x03) |
#define MCP_16MHz_125kBPS_CFG2 (0xF0) |
#define MCP_16MHz_125kBPS_CFG3 (0x86) |
#define MCP_16MHz_200kBPS_CFG1 (0x01) |
#define MCP_16MHz_200kBPS_CFG2 (0xFA) |
#define MCP_16MHz_200kBPS_CFG3 (0x87) |
#define MCP_16MHz_20kBPS_CFG1 (0x0F) |
#define MCP_16MHz_20kBPS_CFG2 (0xFF) |
#define MCP_16MHz_20kBPS_CFG3 (0x87) |
#define MCP_16MHz_250kBPS_CFG1 (0x41) |
#define MCP_16MHz_250kBPS_CFG2 (0xF1) |
#define MCP_16MHz_250kBPS_CFG3 (0x85) |
#define MCP_16MHz_33k3BPS_CFG1 (0x4E) |
#define MCP_16MHz_33k3BPS_CFG2 (0xF1) |
#define MCP_16MHz_33k3BPS_CFG3 (0x85) |
#define MCP_16MHz_40kBPS_CFG1 (0x07) |
#define MCP_16MHz_40kBPS_CFG2 (0xFF) |
#define MCP_16MHz_40kBPS_CFG3 (0x87) |
#define MCP_16MHz_500kBPS_CFG1 (0x00) |
#define MCP_16MHz_500kBPS_CFG2 (0xF0) |
#define MCP_16MHz_500kBPS_CFG3 (0x86) |
#define MCP_16MHz_50kBPS_CFG1 (0x07) |
#define MCP_16MHz_50kBPS_CFG2 (0xFA) |
#define MCP_16MHz_50kBPS_CFG3 (0x87) |
#define MCP_16MHz_5kBPS_CFG1 (0x3F) |
#define MCP_16MHz_5kBPS_CFG2 (0xFF) |
#define MCP_16MHz_5kBPS_CFG3 (0x87) |
#define MCP_16MHz_80kBPS_CFG1 (0x03) |
#define MCP_16MHz_80kBPS_CFG2 (0xFF) |
#define MCP_16MHz_80kBPS_CFG3 (0x87) |
#define MCP_16MHz_83k3BPS_CFG1 (0x03) |
#define MCP_16MHz_83k3BPS_CFG2 (0xBE) |
#define MCP_16MHz_83k3BPS_CFG3 (0x07) |
#define MCP_16MHz_95kBPS_CFG1 (0x03) |
#define MCP_16MHz_95kBPS_CFG2 (0xAD) |
#define MCP_16MHz_95kBPS_CFG3 (0x07) |
#define MCP_20MHz_1000kBPS_CFG1 (0x00) |
#define MCP_20MHz_1000kBPS_CFG2 (0xD9) |
#define MCP_20MHz_1000kBPS_CFG3 (0x82) |
#define MCP_20MHz_100kBPS_CFG1 (0x04) |
#define MCP_20MHz_100kBPS_CFG2 (0xFA) |
#define MCP_20MHz_100kBPS_CFG3 (0x87) |
#define MCP_20MHz_125kBPS_CFG1 (0x03) |
#define MCP_20MHz_125kBPS_CFG2 (0xFA) |
#define MCP_20MHz_125kBPS_CFG3 (0x87) |
#define MCP_20MHz_200kBPS_CFG1 (0x01) |
#define MCP_20MHz_200kBPS_CFG2 (0xFF) |
#define MCP_20MHz_200kBPS_CFG3 (0x87) |
#define MCP_20MHz_250kBPS_CFG1 (0x41) |
#define MCP_20MHz_250kBPS_CFG2 (0xFB) |
#define MCP_20MHz_250kBPS_CFG3 (0x86) |
#define MCP_20MHz_33k3BPS_CFG1 (0x0B) |
#define MCP_20MHz_33k3BPS_CFG2 (0xFF) |
#define MCP_20MHz_33k3BPS_CFG3 (0x87) |
#define MCP_20MHz_40kBPS_CFG1 (0x09) |
#define MCP_20MHz_40kBPS_CFG2 (0xFF) |
#define MCP_20MHz_40kBPS_CFG3 (0x87) |
#define MCP_20MHz_500kBPS_CFG1 (0x00) |
#define MCP_20MHz_500kBPS_CFG2 (0xFA) |
#define MCP_20MHz_500kBPS_CFG3 (0x87) |
#define MCP_20MHz_50kBPS_CFG1 (0x09) |
#define MCP_20MHz_50kBPS_CFG2 (0xFA) |
#define MCP_20MHz_50kBPS_CFG3 (0x87) |
#define MCP_20MHz_80kBPS_CFG1 (0x04) |
#define MCP_20MHz_80kBPS_CFG2 (0xFF) |
#define MCP_20MHz_80kBPS_CFG3 (0x87) |
#define MCP_20MHz_83k3BPS_CFG1 (0x04) |
#define MCP_20MHz_83k3BPS_CFG2 (0xFE) |
#define MCP_20MHz_83k3BPS_CFG3 (0x87) |
#define MCP_8MHz_1000kBPS_CFG1 (0x00) |
#define MCP_8MHz_1000kBPS_CFG2 (0x80) |
#define MCP_8MHz_1000kBPS_CFG3 (0x80) |
#define MCP_8MHz_100kBPS_CFG1 (0x01) |
#define MCP_8MHz_100kBPS_CFG2 (0xB4) |
#define MCP_8MHz_100kBPS_CFG3 (0x86) |
#define MCP_8MHz_10kBPS_CFG1 (0x0F) |
#define MCP_8MHz_10kBPS_CFG2 (0xBF) |
#define MCP_8MHz_10kBPS_CFG3 (0x87) |
#define MCP_8MHz_125kBPS_CFG1 (0x01) |
#define MCP_8MHz_125kBPS_CFG2 (0xB1) |
#define MCP_8MHz_125kBPS_CFG3 (0x85) |
#define MCP_8MHz_200kBPS_CFG1 (0x00) |
#define MCP_8MHz_200kBPS_CFG2 (0xB4) |
#define MCP_8MHz_200kBPS_CFG3 (0x86) |
#define MCP_8MHz_20kBPS_CFG1 (0x07) |
#define MCP_8MHz_20kBPS_CFG2 (0xBF) |
#define MCP_8MHz_20kBPS_CFG3 (0x87) |
#define MCP_8MHz_250kBPS_CFG1 (0x00) |
#define MCP_8MHz_250kBPS_CFG2 (0xB1) |
#define MCP_8MHz_250kBPS_CFG3 (0x85) |
#define MCP_8MHz_31k25BPS_CFG1 (0x07) |
#define MCP_8MHz_31k25BPS_CFG2 (0xA4) |
#define MCP_8MHz_31k25BPS_CFG3 (0x84) |
#define MCP_8MHz_33k3BPS_CFG1 (0x47) |
#define MCP_8MHz_33k3BPS_CFG2 (0xE2) |
#define MCP_8MHz_33k3BPS_CFG3 (0x85) |
#define MCP_8MHz_40kBPS_CFG1 (0x03) |
#define MCP_8MHz_40kBPS_CFG2 (0xBF) |
#define MCP_8MHz_40kBPS_CFG3 (0x87) |
#define MCP_8MHz_500kBPS_CFG1 (0x00) |
#define MCP_8MHz_500kBPS_CFG2 (0x90) |
#define MCP_8MHz_500kBPS_CFG3 (0x82) |
#define MCP_8MHz_50kBPS_CFG1 (0x03) |
#define MCP_8MHz_50kBPS_CFG2 (0xB4) |
#define MCP_8MHz_50kBPS_CFG3 (0x86) |
#define MCP_8MHz_5kBPS_CFG1 (0x1F) |
#define MCP_8MHz_5kBPS_CFG2 (0xBF) |
#define MCP_8MHz_5kBPS_CFG3 (0x87) |
#define MCP_8MHz_80kBPS_CFG1 (0x01) |
#define MCP_8MHz_80kBPS_CFG2 (0xBF) |
#define MCP_8MHz_80kBPS_CFG3 (0x87) |
enum CAN_CLKOUT |
enum CAN_CLOCK |
enum CAN_SPEED |