![]() |
nrfxlib API 3.3.99
|
Hardware access layer for managing the CAN peripheral. More...
Data Structures | |
| struct | nrf_can_config_t |
| CAN configuration structure. More... | |
| struct | nrf_can_rxfilter_t |
| struct | nrf_can_frame_t |
| CAN frame structure. More... | |
Functions | |
| NRF_STATIC_INLINE void | nrf_can_task_trigger (NRF_SP_CAN_Type *p_reg, nrf_can_task_t task) |
| NRF_STATIC_INLINE void | nrf_can_task_untrigger (NRF_SP_CAN_Type *p_reg, nrf_can_task_t task) |
| NRF_STATIC_INLINE void | nrf_can_enable (NRF_SP_CAN_Type *p_reg) |
| NRF_STATIC_INLINE void | nrf_can_disable (NRF_SP_CAN_Type *p_reg) |
| NRF_STATIC_INLINE bool | nrf_can_enable_check (NRF_SP_CAN_Type const *p_reg) |
| NRF_STATIC_INLINE void | nrf_can_event_clear (NRF_SP_CAN_Type *p_reg, nrf_can_event_t event) |
| NRF_STATIC_INLINE bool | nrf_can_event_check (NRF_SP_CAN_Type const *p_reg, nrf_can_event_t event) |
| NRF_STATIC_INLINE uint32_t | nrf_can_event_address_get (NRF_SP_CAN_Type const *p_reg, nrf_can_event_t event) |
| NRF_STATIC_INLINE void | nrf_can_int_enable (NRF_SP_CAN_Type *p_reg, uint32_t mask) |
| NRF_STATIC_INLINE uint32_t | nrf_can_int_enable_check (NRF_SP_CAN_Type const *p_reg, uint32_t mask) |
| NRF_STATIC_INLINE void | nrf_can_int_disable (NRF_SP_CAN_Type *p_reg, uint32_t mask) |
| NRF_STATIC_INLINE void | nrf_can_rxfilter_set (NRF_SP_CAN_Type *p_reg, nrf_can_rxfilter_t const *p_rxfilter, uint8_t index) |
| NRF_STATIC_INLINE void | nrf_can_rxfilter_get (NRF_SP_CAN_Type const *p_reg, nrf_can_rxfilter_t *p_rxfilter, uint8_t index) |
| NRF_STATIC_INLINE void | nrf_can_rxfilter_usefilter_set (NRF_SP_CAN_Type *p_reg, uint8_t index, uint8_t value) |
| NRF_STATIC_INLINE bool | nrf_can_rxfilter_usefilter_get (NRF_SP_CAN_Type const *p_reg, uint8_t index) |
| NRF_STATIC_INLINE void | nrf_can_rxfilter_filtermatched_set (NRF_SP_CAN_Type *p_reg, uint8_t index, uint8_t value) |
| NRF_STATIC_INLINE bool | nrf_can_rxfilter_filtermatched_get (NRF_SP_CAN_Type const *p_reg, uint8_t index) |
| NRF_STATIC_INLINE void | nrf_can_rxfilter_inmailbox_set (NRF_SP_CAN_Type *p_reg, uint8_t index, uint8_t value) |
| NRF_STATIC_INLINE bool | nrf_can_rxfilter_inmailbox_get (NRF_SP_CAN_Type const *p_reg, uint8_t index) |
| NRF_STATIC_INLINE void | nrf_can_set_parsing_timing (NRF_SP_CAN_Type *p_reg) |
| NRF_STATIC_INLINE void | nrf_can_set_parsing_mode (NRF_SP_CAN_Type *p_reg) |
| NRF_STATIC_INLINE void | nrf_can_set_parsing_rxfilter (NRF_SP_CAN_Type *p_reg) |
| NRF_STATIC_INLINE void | nrf_can_config_set (NRF_SP_CAN_Type *p_reg, nrf_can_config_t const *p_config) |
| NRF_STATIC_INLINE void | nrf_can_config_get (NRF_SP_CAN_Type const *p_reg, nrf_can_config_t *p_config) |
| NRF_STATIC_INLINE void | nrf_can_txframe_set (NRF_SP_CAN_Type *p_reg, uint8_t idx, nrf_can_frame_t const *p_frame) |
| NRF_STATIC_INLINE void | nrf_can_txframe_get (NRF_SP_CAN_Type const *p_reg, uint8_t idx, nrf_can_frame_t *p_frame) |
| NRF_STATIC_INLINE void | nrf_can_rxframe_set (NRF_SP_CAN_Type *p_reg, uint8_t idx, nrf_can_frame_t const *p_frame) |
| NRF_STATIC_INLINE void | nrf_can_rxframe_get (NRF_SP_CAN_Type const *p_reg, uint8_t idx, nrf_can_frame_t *p_frame) |
| NRF_STATIC_INLINE nrf_can_state_t | nrf_can_state_get (NRF_SP_CAN_Type const *p_reg) |
| NRF_STATIC_INLINE uint32_t | nrf_can_error_get (NRF_SP_CAN_Type const *p_reg) |
| NRF_STATIC_INLINE bool | nrf_can_status_error_check (uint32_t error_mask) |
| NRF_STATIC_INLINE void | nrf_can_handshake_set (NRF_SP_CAN_Type *p_reg, uint32_t val, uint8_t idx) |
| NRF_STATIC_INLINE uint32_t | nrf_can_handshake_get (NRF_SP_CAN_Type const *p_reg, uint8_t idx) |
Hardware access layer for managing the CAN peripheral.