![]() |
MT2523 API Reference
LinkIt SDK v4
|
Typedefs | |
| typedef void(* | hal_sd_card_detect_callback_t) (hal_sd_card_event_t event, void *user_data) |
| This defines the callback function prototype. More... | |
| typedef void(* | hal_sd_callback_t) (hal_sd_callback_event_t event, void *user_data) |
| This defines the callback function prototype. More... | |
| typedef void(* hal_sd_callback_t) (hal_sd_callback_event_t event, void *user_data) |
This defines the callback function prototype.
Register a callback function to handle a DMA interrupt transfer process. This function is called after the SD/EMMC data transfer is complete. For more details about the callback, please refer to hal_sd_register_callback().
| [in] | event | is the DMA interrupt transfer event. This parameter specifies whether the transfer is success or not. For more details about the event type, please refer to hal_sd_callback_event_t. |
| [in] | user_data | is the user defined parameter obtained from the hal_sd_register_callback() function. |
| typedef void(* hal_sd_card_detect_callback_t) (hal_sd_card_event_t event, void *user_data) |
This defines the callback function prototype.
Register a callback function to handle a card detection. This function is called after the card is inserted or plugged out. For more details about the callback, please refer to hal_sd_register_card_detection_callback().
| [in] | event | is the event of the card detection. This parameter specifies whether the SD card is inserted or not. For more details about the event type, please refer to hal_sd_card_event_t. |
| [in] | user_data | is the user defined parameter obtained from the hal_sd_register_card_detection_callback() function. |