![]() |
nrfxlib API 3.3.99
|
Hardware access layer for managing the EMMC peripheral. More...
Data Structures | |
| struct | nrf_emmc_config_t |
| EMMC configuration structure. More... | |
| struct | nrf_emmc_command_t |
| EMMC command structure. More... | |
| struct | nrf_emmc_data_t |
| EMMC data transfer structure. More... | |
Enumerations | |
| enum | nrf_emmc_task_t { NRF_EMMC_TASK_START = offsetof( NRF_SP_EMMC_Type , TASKS_START) , NRF_EMMC_TASK_RESET } |
| EMMC tasks. More... | |
| enum | nrf_emmc_event_t { NRF_EMMC_EVENT_XFERCOMPLETE = offsetof( NRF_SP_EMMC_Type , EVENTS_XFERCOMPLETE) , NRF_EMMC_EVENT_ABORTED = offsetof( NRF_SP_EMMC_Type , EVENTS_ABORTED) , NRF_EMMC_EVENT_READYTOTRANSFER = offsetof( NRF_SP_EMMC_Type , EVENTS_READYTOTRANSFER) } |
| EMMC events. More... | |
| enum | nrf_emmc_int_mask_t { NRF_EMMC_INT_XFERCOMPLETE_MASK = (0x1UL << (0UL) ) , NRF_EMMC_INT_ABORTED_MASK = (0x1UL << (1UL) ) , NRF_EMMC_INT_READYTOTRANSFER_MASK = (0x1UL << (2UL) ) } |
| EMMC interrupt masks. More... | |
| enum | nrf_emmc_response_type_t { NRF_EMMC_RESPONSE_NONE = (0x00UL) , NRF_EMMC_RESPONSE_R1 = (0x01UL) , NRF_EMMC_RESPONSE_R1B = (0x02UL) , NRF_EMMC_RESPONSE_R2 = (0x03UL) , NRF_EMMC_RESPONSE_R3 = (0x04UL) , NRF_EMMC_RESPONSE_R4 = (0x05UL) , NRF_EMMC_RESPONSE_R5 = (0x06UL) } |
| EMMC response types. More... | |
| enum | nrf_emmc_response_proc_t { NRF_EMMC_RESPONSE_PROC_PROCESS = (0x00UL) , NRF_EMMC_RESPONSE_PROC_IGNORE = (0x01UL) } |
| EMMC response processing types. More... | |
| enum | nrf_emmc_bus_width_t { NRF_EMMC_BUS_WIDTH_1_LANE = (0x1UL) , NRF_EMMC_BUS_WIDTH_4_LANES = (0x4UL) , NRF_EMMC_BUS_WIDTH_8_LANES = (0x8UL) } |
| EMMC bus width configurations. More... | |
Functions | |
| NRF_STATIC_INLINE void | nrf_emmc_task_trigger (NRF_SP_EMMC_Type *p_reg, nrf_emmc_task_t task) |
| NRF_STATIC_INLINE void | nrf_emmc_enable (NRF_SP_EMMC_Type *p_reg) |
| NRF_STATIC_INLINE void | nrf_emmc_disable (NRF_SP_EMMC_Type *p_reg) |
| NRF_STATIC_INLINE bool | nrf_emmc_enable_check (NRF_SP_EMMC_Type const *p_reg) |
| NRF_STATIC_INLINE void | nrf_emmc_event_clear (NRF_SP_EMMC_Type *p_reg, nrf_emmc_event_t event) |
| NRF_STATIC_INLINE bool | nrf_emmc_event_check (NRF_SP_EMMC_Type const *p_reg, nrf_emmc_event_t event) |
| NRF_STATIC_INLINE uint32_t | nrf_emmc_event_address_get (NRF_SP_EMMC_Type const *p_reg, nrf_emmc_event_t event) |
| NRF_STATIC_INLINE void | nrf_emmc_int_enable (NRF_SP_EMMC_Type *p_reg, uint32_t mask) |
| NRF_STATIC_INLINE uint32_t | nrf_emmc_int_enable_check (NRF_SP_EMMC_Type const *p_reg, uint32_t mask) |
| NRF_STATIC_INLINE void | nrf_emmc_int_disable (NRF_SP_EMMC_Type *p_reg, uint32_t mask) |
| NRF_STATIC_INLINE void | nrf_emmc_config_set (NRF_SP_EMMC_Type *p_reg, nrf_emmc_config_t const *p_config) |
| NRF_STATIC_INLINE void | nrf_emmc_config_get (NRF_SP_EMMC_Type const *p_reg, nrf_emmc_config_t *p_config) |
| NRF_STATIC_INLINE void | nrf_emmc_command_set (NRF_SP_EMMC_Type *p_reg, nrf_emmc_command_t const *p_cmd) |
| NRF_STATIC_INLINE void | nrf_emmc_config_set_ready_to_transfer (NRF_SP_EMMC_Type *p_reg, nrf_emmc_config_t const *p_config) |
| NRF_STATIC_INLINE void | nrf_emmc_config_get_ready_to_transfer (NRF_SP_EMMC_Type const *p_reg, nrf_emmc_config_t *p_config) |
| NRF_STATIC_INLINE void | nrf_emmc_command_set_response (NRF_SP_EMMC_Type *p_reg, const uint32_t *response) |
| NRF_STATIC_INLINE void | nrf_emmc_command_get_response (NRF_SP_EMMC_Type const *p_reg, uint32_t *response) |
| NRF_STATIC_INLINE void | nrf_emmc_command_get (NRF_SP_EMMC_Type const *p_reg, nrf_emmc_command_t *p_cmd) |
| NRF_STATIC_INLINE void | nrf_emmc_data_set (NRF_SP_EMMC_Type *p_reg, nrf_emmc_data_t const *p_data) |
| NRF_STATIC_INLINE void | nrf_emmc_data_get (NRF_SP_EMMC_Type const *p_reg, nrf_emmc_data_t *p_data) |
| NRF_STATIC_INLINE void | nrf_emmc_set_num_blocks (NRF_SP_EMMC_Type *p_reg, nrf_emmc_data_t const *p_data) |
| NRF_STATIC_INLINE void | nrf_emmc_get_num_blocks (NRF_SP_EMMC_Type const *p_reg, nrf_emmc_data_t *p_data) |
| NRF_STATIC_INLINE void | nrf_emmc_status_set (NRF_SP_EMMC_Type *p_reg, uint32_t error_mask) |
| NRF_STATIC_INLINE uint32_t | nrf_emmc_status_get (NRF_SP_EMMC_Type const *p_reg) |
| NRF_STATIC_INLINE bool | nrf_emmc_status_error_check (uint32_t status) |
| NRF_STATIC_INLINE void | nrf_emmc_handshake_set (NRF_SP_EMMC_Type *p_reg, uint32_t val, uint8_t idx) |
| NRF_STATIC_INLINE uint32_t | nrf_emmc_handshake_get (NRF_SP_EMMC_Type const *p_reg, uint8_t idx) |
Hardware access layer for managing the EMMC peripheral.