|
void | canfd_cfg_setup (canfd_cfg_t *cfg) |
| Config Object Initialization function.
|
|
CANFD_RETVAL | canfd_init (canfd_t *ctx, canfd_cfg_t *cfg) |
| Initialization function.
|
|
void | canfd_set_wke_pin (canfd_t *ctx, uint8_t state) |
| Set WKE ( wake-up ) pin state.
|
|
void | canfd_set_stb_pin (canfd_t *ctx, uint8_t state) |
| Set RST ( reset ) pin state.
|
|
uint8_t | canfd_get_err_pin (canfd_t *ctx) |
| Set ERR ( INT ) pin state.
|
|
void | canfd_set_stand_by_stb_pin (canfd_t *ctx, uint8_t stb_state) |
| Set STB ( RST ) pin state.
|
|
void | canfd_set_mode_en_pin (canfd_t *ctx, uint8_t en_state) |
| Set EN ( CS ) pin state.
|
|
void | canfd_generic_write (canfd_t *ctx, char *data_buf, uint16_t len) |
| Generic write function.
|
|
int32_t | canfd_generic_read (canfd_t *ctx, char *data_buf, uint16_t max_len) |
| Generic read function.
|
|
void | canfd_set_operating_mode (canfd_t *ctx, uint8_t op_mode) |
| Operation mode.
|
|
This file contains API for CAN FD Click driver.