|
TTK4155 Lab Node 1
Term project in the NTNU course TTK4155 Embedded and Industrial Computer Systems Design
|
Go to the source code of this file.
| #define CAN_INTERRUPT_ISR_REGISTER INT2 |
Definition at line 177 of file mcp.h.
Referenced by can_init().
| #define MCP2515_BITMOD 0x05 |
Definition at line 74 of file mcp.h.
Referenced by MCP2515_bit_modify().
| #define MCP2515_CANCTRL 0x0F |
Definition at line 17 of file mcp.h.
Referenced by MCP2515_init().
| #define MCP2515_CANINTE 0x2B |
Definition at line 43 of file mcp.h.
Referenced by MCP2515_init().
| #define MCP2515_CANINTF 0x2C |
Definition at line 44 of file mcp.h.
Referenced by can_read_rx0(), can_read_rx1(), and ISR().
| #define MCP2515_CANSTAT 0x0E |
Definition at line 16 of file mcp.h.
Referenced by MCP2515_init().
| #define MCP2515_CNF1 0x2A |
Definition at line 42 of file mcp.h.
Referenced by MCP2515_init().
| #define MCP2515_CNF2 0x29 |
Definition at line 41 of file mcp.h.
Referenced by MCP2515_init().
| #define MCP2515_CNF3 0x28 |
Definition at line 40 of file mcp.h.
Referenced by MCP2515_init().
| #define MCP2515_NO_IRQ 0x00 |
Definition at line 64 of file mcp.h.
Referenced by MCP2515_init().
| #define MCP2515_READ 0x03 |
Definition at line 72 of file mcp.h.
Referenced by MCP2515_read().
| #define MCP2515_READ_STATUS 0xA0 |
Definition at line 88 of file mcp.h.
Referenced by MCP2515_read_status().
| #define MCP2515_RESET 0xC0 |
Definition at line 92 of file mcp.h.
Referenced by MCP2515_reset().
| #define MCP2515_RTS_TX0 0x81 |
Definition at line 80 of file mcp.h.
Referenced by can_write().
| #define MCP2515_RX0IF 0x01 |
Definition at line 141 of file mcp.h.
Referenced by can_read_rx0(), and ISR().
| #define MCP2515_RX1IF 0x02 |
Definition at line 142 of file mcp.h.
Referenced by can_read_rx1(), and ISR().
| #define MCP2515_RX_IRQ 0x03 |
Definition at line 63 of file mcp.h.
Referenced by MCP2515_init().
| #define MCP2515_RXB0CTRL 0x60 |
Definition at line 49 of file mcp.h.
Referenced by MCP2515_init().
| #define MCP2515_RXB0D0 0x66 |
Definition at line 162 of file mcp.h.
Referenced by can_read_rx0().
| #define MCP2515_RXB0DLC 0x65 |
Definition at line 52 of file mcp.h.
Referenced by can_read_rx0().
| #define MCP2515_RXB0SIDH 0x61 |
Definition at line 50 of file mcp.h.
Referenced by can_read_rx0().
| #define MCP2515_RXB0SIDL 0x62 |
Definition at line 51 of file mcp.h.
Referenced by can_read_rx0().
| #define MCP2515_RXB1CTRL 0x70 |
Definition at line 53 of file mcp.h.
Referenced by MCP2515_init().
| #define MCP2515_RXB1D0 0x76 |
Definition at line 58 of file mcp.h.
Referenced by can_read_rx1().
| #define MCP2515_RXB1DLC 0x75 |
Definition at line 57 of file mcp.h.
Referenced by can_read_rx1().
| #define MCP2515_RXB1SIDH 0x71 |
Definition at line 54 of file mcp.h.
Referenced by can_read_rx1().
| #define MCP2515_RXB1SIDL 0x72 |
Definition at line 55 of file mcp.h.
Referenced by can_read_rx1().
| #define MCP2515_TXB0CTRL 0x30 |
Definition at line 46 of file mcp.h.
Referenced by can_write().
| #define MCP2515_TXB0D0 0x36 |
Definition at line 159 of file mcp.h.
Referenced by can_write().
| #define MCP2515_TXB0EID0 0x34 |
Definition at line 56 of file mcp.h.
Referenced by can_write().
| #define MCP2515_TXB0EID8 0x33 |
Definition at line 156 of file mcp.h.
Referenced by can_write().
| #define MCP2515_TXB0SIDH 0x31 |
Definition at line 154 of file mcp.h.
Referenced by can_write().
| #define MCP2515_TXB0SIDL 0x32 |
Definition at line 155 of file mcp.h.
Referenced by can_write().
| #define MCP2515_TXRTS_CONF 0x07 |
Definition at line 94 of file mcp.h.
Referenced by MCP2515_init().
| #define MCP2515_TXRTSCTRL 0x0D |
Definition at line 151 of file mcp.h.
Referenced by MCP2515_init().
| #define MCP2515_VAL_CNF1 0x03 |
Definition at line 98 of file mcp.h.
Referenced by MCP2515_init().
| #define MCP2515_VAL_CNF2 0xB1 |
Definition at line 99 of file mcp.h.
Referenced by MCP2515_init().
| #define MCP2515_VAL_CNF3 0x05 |
Definition at line 100 of file mcp.h.
Referenced by MCP2515_init().
| #define MCP2515_WRITE 0x02 |
Definition at line 70 of file mcp.h.
Referenced by MCP2515_init(), MCP2515_write(), and MCP2515_write_n().
| #define MODE_CONFIG 0x80 |
Definition at line 107 of file mcp.h.
Referenced by MCP2515_init().
| #define MODE_MASK 0xE0 |
Definition at line 109 of file mcp.h.
Referenced by MCP2515_init().
| #define MODE_NORMAL 0x00 |
Definition at line 103 of file mcp.h.
Referenced by MCP2515_init().
| #define TXB0DLC 0x35 |
Definition at line 175 of file mcp.h.
Referenced by can_write().