|
Embedded Artistry Framework
Embedded Systems C++ Framework
|


Enumerations | |
| enum | twi_task_t { TWIM_TASK_STARTRX = offsetof(NRF_TWIM_Type, TASKS_STARTRX), TWIM_TASK_STARTTX = offsetof(NRF_TWIM_Type, TASKS_STARTTX), TWIM_TASK_STOP = offsetof(NRF_TWIM_Type, TASKS_STOP), TWIM_TASK_SUSPEND = offsetof(NRF_TWIM_Type, TASKS_SUSPEND), TWIM_TASK_RESUME = offsetof(NRF_TWIM_Type, TASKS_RESUME) } |
| enum | twi_event_t { TWIM_EVENT_STOPPED = offsetof(NRF_TWIM_Type, EVENTS_STOPPED), TWIM_EVENT_ERROR = offsetof(NRF_TWIM_Type, EVENTS_ERROR), TWIM_EVENT_SUSPENDED, TWIM_EVENT_RXSTARTED = offsetof(NRF_TWIM_Type, EVENTS_RXSTARTED), TWIM_EVENT_TXSTARTED = offsetof(NRF_TWIM_Type, EVENTS_TXSTARTED), TWIM_EVENT_LASTRX = offsetof(NRF_TWIM_Type, EVENTS_LASTRX), TWIM_EVENT_LASTTX = offsetof(NRF_TWIM_Type, EVENTS_LASTTX) } |
Functions | |
| static void | interrupts_disable_ (NRF_TWIM_Type *twi) noexcept |
| static void | interrupts_enable_ (NRF_TWIM_Type *twi, uint32_t mask) noexcept |
| static void | disable_shortcuts_ (NRF_TWIM_Type *twi) noexcept |
| static void | set_shortcuts_ (NRF_TWIM_Type *twi, uint32_t mask) noexcept |
| static void | clear_event_ (NRF_TWIM_Type *twi, twi_event_t event) noexcept |
| static bool | check_event_ (NRF_TWIM_Type *twi, twi_event_t event) noexcept |
| static void | task_trigger_ (NRF_TWIM_Type *twi, twi_task_t task) noexcept |
| static void | set_tx_buffer_ (NRF_TWIM_Type *twi, const uint8_t *tx_data, size_t length) noexcept |
| static size_t | get_txd_amount_ (NRF_TWIM_Type *twi) noexcept |
| static void | set_rx_buffer_ (NRF_TWIM_Type *twi, uint8_t *rx_data, size_t length) noexcept |
| static size_t | get_rxd_amount_ (NRF_TWIM_Type *twi) noexcept |
| static void | tx_list_enable_ (NRF_TWIM_Type *twi) noexcept |
| static void | tx_list_disable_ (NRF_TWIM_Type *twi) noexcept |
| static void | rx_list_enable_ (NRF_TWIM_Type *twi) noexcept |
| static void | rx_list_disable_ (NRF_TWIM_Type *twi) noexcept |
| static void | handle_error_event_ (NRF_TWIM_Type *twi) noexcept |
| static void | block_until_complete (NRF_TWIM_Type *twi, twi_event_t exit_event) noexcept |
| static void | clear_events_prior_to_kickoff (NRF_TWIM_Type *twi) noexcept |
| static twi_event_t | kickoff_rx (NRF_TWIM_Type *twi) noexcept |
| static twi_event_t | kickoff_tx (NRF_TWIM_Type *twi, bool no_stop) noexcept |
| static twi_event_t | kickoff_txrx (NRF_TWIM_Type *twi) noexcept |
| static uint32_t | get_errorsrc_ (NRF_TWIM_Type *twi) noexcept |
Variables | |
| constexpr uint32_t | ALL_INTS_MASK |
| All TWI interrupts. More... | |
| constexpr uint32_t | ALL_SHORTCUTS_MASK |
| All TWI shortcuts. More... | |
| enum twi_event_t |
| enum twi_task_t |
|
staticnoexcept |
|
inlinestaticnoexcept |
References embutil::volatile_load().
Referenced by block_until_complete(), handle_error_event_(), nRFTWITranslator::rx_transfer(), twim_irq_handler_(), and nRFTWITranslator::tx_transfer().
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
References clear_event_(), TWIM_EVENT_ERROR, and TWIM_EVENT_STOPPED.
Referenced by kickoff_rx(), kickoff_tx(), and kickoff_txrx().
|
inlinestaticnoexcept |
References ALL_SHORTCUTS_MASK, embutil::volatile_load(), and embutil::volatile_store().
Referenced by nRFTWITranslator::disable(), nRFTWIMTranslator::disable(), and twim_irq_handler_().
|
inlinestaticnoexcept |
References embvm::logger::error, embutil::volatile_load(), and embutil::volatile_store().
Referenced by get_converted_error().
|
inlinestaticnoexcept |
References embutil::volatile_load().
|
inlinestaticnoexcept |
References embutil::volatile_load().
|
staticnoexcept |
References check_event_(), clear_event_(), task_trigger_(), TWIM_EVENT_ERROR, TWIM_EVENT_STOPPED, TWIM_TASK_RESUME, and TWIM_TASK_STOP.
Referenced by block_until_complete(), and twim_irq_handler_().
|
inlinestaticnoexcept |
References ALL_INTS_MASK, and embutil::volatile_store().
Referenced by nRFTWIMTranslator::disable(), nRFTWIMTranslator::rx_transfer(), twim_irq_handler_(), nRFTWIMTranslator::tx_transfer(), and nRFTWIMTranslator::txrx_transfer().
|
inlinestaticnoexcept |
References embutil::volatile_store().
Referenced by nRFTWIMTranslator::rx_transfer(), twim_irq_handler_(), nRFTWIMTranslator::tx_transfer(), and nRFTWIMTranslator::txrx_transfer().
|
staticnoexcept |
References clear_events_prior_to_kickoff(), set_shortcuts_(), task_trigger_(), TWIM_EVENT_STOPPED, TWIM_TASK_RESUME, and TWIM_TASK_STARTRX.
Referenced by nRFTWIMTranslator::rx_transfer(), and nRFTWIMTranslator::rx_transfer_blocking().
|
staticnoexcept |
|
staticnoexcept |
References clear_events_prior_to_kickoff(), set_shortcuts_(), task_trigger_(), TWIM_EVENT_STOPPED, TWIM_TASK_RESUME, and TWIM_TASK_STARTTX.
Referenced by nRFTWIMTranslator::txrx_transfer(), and nRFTWIMTranslator::txrx_transfer_blocking().
|
inlinestaticnoexcept |
References UINT32_C, and embutil::volatile_store().
|
inlinestaticnoexcept |
References UINT32_C, and embutil::volatile_store().
|
inlinestaticnoexcept |
References embutil::volatile_store().
Referenced by kickoff_rx(), kickoff_tx(), kickoff_txrx(), nRFTWITranslator::rx_transfer(), and nRFTWITranslator::tx_transfer().
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
References UINT32_C, and embutil::volatile_store().
|
inlinestaticnoexcept |
References UINT32_C, and embutil::volatile_store().
| constexpr uint32_t ALL_INTS_MASK |
All TWI interrupts.
Referenced by interrupts_disable_().
| constexpr uint32_t ALL_SHORTCUTS_MASK |
All TWI shortcuts.
Referenced by disable_shortcuts_().
1.8.15