SDIO API¶
Enums
Functions
-
KSDIOStatus
k_sdio_init
()¶ Performs low-level SDIO hardware initialization.
- Return
- KSDIOStatus SDIO_OK if successful, otherwise error
-
void
k_sdio_terminate
()¶ Performs low-level SDIO hardware termination.
-
KSDIOStatus
k_sdio_write_blocks
(uint32_t *buffer, uint64_t addr, uint32_t block_size, uint32_t count)¶ Writes blocks of data via SDIO.
- Return
- KSDIOStatus SDIO_OK if successful, otherwise error code
- Parameters
buffer
: [in] data buffer to write data fromaddr
: [in] address on sdcard to write toblock_size
: [in] size of each block to writecount
: [in] number of blocks to write
-
KSDIOStatus
k_sdio_read_blocks
(uint32_t *buffer, uint64_t addr, uint32_t block_size, uint32_t count)¶ Reads blocks of data via SDIO.
- Return
- KSDIOStatus SDIO_OK if successful, otherwise error code
- Parameters
buffer
: [out] data buffer to read data intoaddr
: [in] address on sdcard to read fromblock_size
: [in] size of each block to readcount
: [in] number of blocks to read
-
KSDIOStatus
k_sdio_card_status
()¶ Reads status of SDIO device.
- Return
- KSDIOStatus indication of current SDIO device status
-
k_sdio_card_info_t
k_sdio_card_info
()¶ Queries SDIO device for card info.
- Return
- k_sdio_card_info_t structure of SDIO card info
-
KSDIOStatus
kprv_sdio_init
()¶ Performs low-level SDIO hardware initialization - Private interface for platform specific implementation
- Return
- KSDIOStatus SDIO_OK if successful, otherwise error
-
void
kprv_sdio_terminate
()¶ Performs low-level SDIO hardware termination - Private interface for platform specific implementation
-
KSDIOStatus
kprv_sdio_write_blocks
(uint32_t *buffer, uint64_t addr, uint32_t block_size, uint32_t count)¶ Writes blocks of data via SDIO - Private interface for platform specific implementation
- Return
- KSDIOStatus SDIO_OK if successful, otherwise error code
- Parameters
buffer
: [in] data buffer to write data fromaddr
: [in] address on sdcard to write toblock_size
: [in] size of each block to writecount
: [in] number of blocks to write
-
KSDIOStatus
kprv_sdio_read_blocks
(uint32_t *buffer, uint64_t addr, uint32_t block_size, uint32_t count)¶ Reads blocks of data via SDIO - Private interface for platform specific implementation
- Return
- KSDIOStatus SDIO_OK if successful, otherwise error code
- Parameters
buffer
: [out] data buffer to read data intoaddr
: [in] address on sdcard to read fromblock_size
: [in] size of each block to writecount
: [in] number of blocks to write
-
KSDIOStatus
kprv_sdio_card_status
()¶ Reads status of SDIO device - Private interface for platform specific implementation
- Return
- KSDIOStatus indication of current SDIO device status
-
k_sdio_card_info_t
kprv_sdio_card_info
()¶ Queries SDIO device for card info - Private interface for platform specific implementation
- Return
- k_sdio_card_info_t structure of SDIO card info