![]() |
nRF5 SDK
v12.3.0
|
| Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API |
This module implements block device API. It should be used as a reference block device. More...
Data Structures | |
| struct | nrf_block_dev_ram_work_t |
| Work structure of RAM block device. More... | |
| struct | nrf_block_dev_ram_config_t |
| Ram block device config. More... | |
| struct | nrf_block_dev_ram_t |
| Ram block device. More... | |
Macros | |
| #define | NRF_BLOCK_DEV_RAM_CONFIG(blk_size, buffer, buffer_size) |
| RAM block device config initializer (nrf_block_dev_ram_config_t) More... | |
| #define | NRF_BLOCK_DEV_RAM_DEFINE(name, config, info) |
| Defines a RAM block device. More... | |
Functions | |
| static nrf_block_dev_t const * | nrf_block_dev_ram_ops_get (nrf_block_dev_ram_t const *p_blk_ram) |
| Returns block device API handle from RAM block device. More... | |
Variables | |
| const nrf_block_dev_ops_t | nrf_block_device_ram_ops |
| RAM block device operations. | |
This module implements block device API. It should be used as a reference block device.
| #define NRF_BLOCK_DEV_RAM_CONFIG | ( | blk_size, | |
| buffer, | |||
| buffer_size | |||
| ) |
RAM block device config initializer (nrf_block_dev_ram_config_t)
| blk_size | Block size |
| buffer | RAM work buffer |
| buffer_size | RAM work buffer size |
| #define NRF_BLOCK_DEV_RAM_DEFINE | ( | name, | |
| config, | |||
| info | |||
| ) |
Defines a RAM block device.
| name | Instance name |
| config | Configuration nrf_block_dev_ram_config_t |
| info | Info strings NFR_BLOCK_DEV_INFO_CONFIG |
|
inlinestatic |
Returns block device API handle from RAM block device.
| [in] | p_blk_ram | Ram block device |