![]() |
Contains all interrupt handlers definitions and functions declarations
indispensible for proper handlers operation.
More...
Functions | |||||||
INT0_VECTOR Interrupt handler | |||||||
External Interrupt handler
| |||||||
ISR (INT0_VECTOR) | |||||||
TIMER0_COMPA_VECT Interrupt handler | |||||||
TIMER0 Compare interrupt handler
| |||||||
ISR (TIMER0_OVF_VECT) | |||||||
INT_RECEIVING Interrupt handler | |||||||
External Interrupt handler
| |||||||
ISR (INT_RECEIVING) | |||||||
WDT_VECT Watchdog | |||||||
Watchdog Timer handler
| |||||||
ISR (WDT_VECT) | |||||||
BADISR_vect BADisr | |||||||
BADISR_vect handler - fired in case of memory problems...
| |||||||
ISR (BADISR_vect) | |||||||
receiveCanMsg | |||||||
Internal function in order to receive message from CAN controller (MCP2515)
| |||||||
void | receiveCanMsg (struct can_msg *msgRec, uint8_t regRec) | ||||||
sendCanMsg | |||||||
Internal function which task is to send message through CAN controller (MCP2515)
| |||||||
void | sendCanMsg (struct can_msg *msgToSend, uint8_t regToSend) | ||||||
hal_msg_poll | |||||||
Function to retry fetching an incoming message left in CAN controller
| |||||||
void | hal_msg_poll (void) | ||||||
clearMCP2515InterruptFlag | |||||||
Function to reset clear flags inside of CAN controller
| |||||||
void | clearMCP2515InterruptFlag (uint8_t reg, uint8_t flag) | ||||||
Variables | |||||||
volatile uint16_t | counterSending | ||||||
volatile uint16_t | counterReceiving | ||||||
volatile uint8_t | sendingStop = 0 | ||||||
volatile uint16_t | time | ||||||
volatile uint8_t | flag | ||||||
char * | strMERRE = "MERRE error \r" | ||||||
char * | strERROR = "Error interrupt occured \r" | ||||||
volatile uint8_t | txBuf2Ready | ||||||
volatile uint8_t | txBuf1Ready | ||||||
volatile uint8_t | txBuf0Ready | ||||||
volatile uint8_t | rxBuf1Full | ||||||
volatile uint8_t | rxBuf0Full | ||||||
volatile uint8_t | readBuffer |
Contains all interrupt handlers definitions and functions declarations
indispensible for proper handlers operation.
Contains all interrupt handlers definitions.