libyggdrasil
v1.0.0
|
CAN abstraction implementation for Midgard. More...
Go to the source code of this file.
Classes | |
struct | can_t |
CAN handle type. More... | |
Functions | |
C_LINKAGE bool | yggdrasil_CAN_Init (can_t can) |
CAN init function. More... | |
C_LINKAGE bool | yggdrasil_CAN_Deinit (can_t can) |
CAN init function. More... | |
C_LINKAGE bool | yggdrasil_CAN_Enable (can_t can) |
CAN enable. More... | |
C_LINKAGE bool | yggdrasil_CAN_Disable (can_t can) |
CAN disable. More... | |
C_LINKAGE void | yggdrasil_CAN_Read (can_t can, u32 *id, void *data, size_t size) |
CAN receive. More... | |
C_LINKAGE u32 | yggdrasil_CAN_Write (can_t can, u32 id, void *data, size_t size) |
CAN write. More... | |
C_LINKAGE bool | yggdrasil_CAN_SetStdFilter (can_t can, u8 bank, u16 id, u16 mask) |
Standard ID filter configuration function. More... | |
C_LINKAGE bool | yggdrasil_CAN_DisableFilter (can_t can, u8 bank) |
Filter bank disable. More... | |
CAN abstraction implementation for Midgard.
CAN init function.
can | CAN handle |
CAN disable.
can | CAN handle |
Filter bank disable.
can | CAN handle |
bank | Filterbank number |
CAN enable.
can | CAN handle |
CAN init function.
can | CAN handle |
CAN receive.
can | CAN handle | |
[out] | id | CAN ID |
data | Received data | |
size | Buffer size |
Standard ID filter configuration function.
can | CAN handle |
bank | Filterbank 0 to 28 |
id | Standard ID 0 to 0x7FF |
mask | Filtermask 0 to 0x7FF |