Macros | |
#define | Is_host_ms_configured() (ms_connected && !Is_host_suspended()) |
Functions | |
void | host_mass_storage_task (void) |
This function manages the host mass-storage task. More... | |
void | host_mass_storage_task_init (void) |
This function initializes the host mass-storage task. More... | |
void | host_sof_action (void) |
host_sof_action More... | |
Variables | |
volatile bool | ms_connected |
#define Is_host_ms_configured | ( | ) | (ms_connected && !Is_host_suspended()) |
void host_mass_storage_task | ( | void | ) |
This function manages the host mass-storage task.
References capacity, CTRL_FAIL, CTRL_GOOD, g_pipe_ms_in, g_pipe_ms_out, Get_class, Get_ep_pipe, Get_nb_supported_interface, host_get_lun(), host_ms_inquiry(), host_ms_request_sense(), host_read_capacity(), host_selected_lun, host_test_unit_ready(), Is_ep_in, Is_host_ready, LED0, LED1, LED_Display_Field(), LED_MONO0_GREEN, LED_MONO1_GREEN, LED_MONO2_GREEN, LED_MONO3_GREEN, log_ms_dev_connected, LOG_STR, MS_CLASS, ms_connected, ms_new_device_connected, and sof_cnt.
Referenced by host_mass_storage_task_init(), and main().
void host_mass_storage_task_init | ( | void | ) |
This function initializes the host mass-storage task.
References host_mass_storage_task(), ms_connected, ms_new_device_connected, and sof_cnt.
Referenced by main().