Lines Matching full:sd

9  * @brief SD Host Controller public API header file.
17 #include <zephyr/sd/sd_spec.h>
34 * @name SD command timeouts
41 * @brief SD host controller command structure
43 * This command structure is used to send command requests to an SD
44 * host controller, which will be sent to SD devices.
47 uint32_t opcode; /*!< SD Host specification CMD index */
48 uint32_t arg; /*!< SD host specification argument */
49 uint32_t response[4]; /*!< SD card response field */
50 uint32_t response_type; /*!< Expected SD response type */
59 * @brief SD host controller data structure
61 * This command structure is used to send data transfer requests to an SD
62 * host controller, which will be sent to SD devices.
74 * @brief SD bus mode.
77 * SDHC controllers that implement SD host specification can support open
86 * @brief SD host controller power
88 * Many host controllers can control power to attached SD cards.
90 * the SD card.
98 * @brief SD host controller bus width
100 * Only relevant in SD mode, SPI does not support bus width. UHS cards will
110 * @brief SD host controller timing mode
112 * Used by SD host controller to determine the timing of the cards attached
140 * @brief SD voltage
144 * Only relevant for SD controllers, not SPI ones.
158 * @brief SD host controller capabilities
160 * SD host controller capability flags. These flags should be set by the SDHC
167 unsigned int sd_base_clk: 8; /**< SD base clock frequency */
204 * @brief SD host controller I/O control structure
213 enum sdhc_power power_mode; /*!< SD power supply mode */
214 enum sdhc_bus_width bus_width; /*!< SD bus width */
215 enum sdhc_timing_mode timing; /*!< SD bus timing */
216 enum sd_driver_type driver_type; /*!< SD driver type */
221 * @brief SD host controller properties
228 unsigned int power_delay; /*!< Delay to allow SD to power up or down (in ms) */
237 * @brief SD host controller interrupt sources
239 * Interrupt sources for SD host controller.
283 * @param dev: SD host controller device
305 * Sends a command to the SD host controller, which will send this command to
306 * attached SD cards.
309 * @param data: SDHC data. Leave NULL to send SD command without data.
335 * to change its own SD settings. This function can also be used to toggle
336 * power to the SD card.
360 * Checks if card is present on the SD bus. Note that if a controller
385 * SD cards require signal tuning for UHS modes SDR104 and SDR50. This function
386 * allows an application to request the SD host controller to tune the card.
407 * @brief check if SD card is busy
410 * DAT[0:3] lines of the SD bus. No SD commands need to be sent, the controller
411 * simply needs to report the status of the SD bus.
432 * @brief Get SD host controller properties