Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
can_state_change_callback Struct Reference

CAN state change callback. More...

#include <can.h>

Data Fields

sys_snode_t node
 Single-linked list node.
can_state_change_callback_handler_t handler
 Callback function.

Detailed Description

CAN state change callback.

This struct is used to register a CAN state callback. As many callbacks as needed can be added as long as each of them are unique pointers of struct can_state_callback.

Note
This structure should not be allocated on a stack.

This type is opaque. Member data should not be accessed directly by the application.

See also
can_init_state_change_callback()
can_add_state_change_callback()
can_remove_state_change_callback()

Field Documentation

◆ handler

can_state_change_callback_handler_t can_state_change_callback::handler

Callback function.

◆ node

sys_snode_t can_state_change_callback::node

Single-linked list node.


The documentation for this struct was generated from the following file:
  • include/zephyr/drivers/can.h