Common functions and data structures used in every node in the CAN library.
More...
#include <stdint.h>
#include "common/rtos/rtos.h"
Go to the source code of this file.
Common functions and data structures used in every node in the CAN library.
- Author
- Irving Wang (irvin.nosp@m.gw@p.nosp@m.urdue.nosp@m..edu)
◆ CAN_RX_QUEUE_LENGTH
| #define CAN_RX_QUEUE_LENGTH (32) |
◆ CAN_TX_QUEUE_LENGTH
| #define CAN_TX_QUEUE_LENGTH (32) |
◆ DEFINE_CAN_TASKS
| #define DEFINE_CAN_TASKS |
( |
| ) |
|
Value:
void CAN_tx_update(void)
Definition can_tx.c:160
void CAN_rx_update(void)
Definition can_rx.c:20
@ TASK_PRIORITY_HIGH
Definition rtos.h:36
@ STACK_1024
Definition rtos.h:27
@ STACK_2048
Definition rtos.h:28
#define RTOS_DEFINE_TASK(NAME, PERIOD_MS, PRIORITY, STACK_SIZE)
Defines a statically allocated periodic FreeRTOS task.
Definition rtos.h:79
◆ NVIC_RX_IRQ_PRIO
| #define NVIC_RX_IRQ_PRIO (6) |
◆ NVIC_TX_IRQ_PRIO
| #define NVIC_TX_IRQ_PRIO (7) |
◆ START_CAN_TASKS
| #define START_CAN_TASKS |
( |
| ) |
|
Value:
CAN_enable_IRQs();
#define RTOS_START_TASK(NAME)
Creates and starts a previously defined task.
Definition rtos.h:109
◆ CAN_enable_IRQs()
| void CAN_enable_IRQs |
( |
void | | ) |
|
◆ CAN_init()
◆ CAN_rx_init()
| void CAN_rx_init |
( |
void | | ) |
|
◆ CAN_rx_update()
| void CAN_rx_update |
( |
void | | ) |
|
◆ CAN_tx_init()
| void CAN_tx_init |
( |
void | | ) |
|
◆ CAN_tx_update()
| void CAN_tx_update |
( |
void | | ) |
|
◆ can_rx_queue
| QueueHandle_t can_rx_queue |
|
extern |
◆ can_stats
◆ last_can_rx_time_ms
| volatile uint32_t last_can_rx_time_ms |
|
extern |