Generic FreeRTOS peripheral control functions.
Copyright (c) 2012-2018 Microchip Technology Inc. and its subsidiaries.
Functions | |
portBASE_TYPE | are_usart_echo_tasks_still_running (void) |
void | cdc_cli_output (const uint8_t const *message_string) |
void | create_twi_eeprom_test_task (Twi *twi_base, uint16_t stack_depth_words, unsigned portBASE_TYPE task_priority, portBASE_TYPE set_asynchronous_api) |
void | create_usart_cli_task (Usart *usart_base, uint16_t stack_depth_words, unsigned portBASE_TYPE task_priority) |
void | create_usart_echo_test_tasks (Usart *pxUsart, uint16_t stack_depth_words, unsigned portBASE_TYPE task_priority) |
void | create_usb_cdc_cli_task (uint16_t stack_depth_words, unsigned portBASE_TYPE task_priority) |
portBASE_TYPE | did_twi_eeprom_test_pass (void) |
void | usart_cli_output (const uint8_t *message_string) |
void | vRegisterCLICommands (void) |
portBASE_TYPE are_usart_echo_tasks_still_running | ( | void | ) |
References pdFAIL, pdPASS, and rx_task_loops.
Referenced by prvLEDTimerCallback().
void cdc_cli_output | ( | const uint8_t const * | message_string | ) |
References access_mutex, cdc_connected, udi_cdc_write_buf(), xSemaphoreGive, and xSemaphoreTake.
Referenced by created_task().
void create_twi_eeprom_test_task | ( | Twi * | twi_base, |
uint16_t | stack_depth_words, | ||
unsigned portBASE_TYPE | task_priority, | ||
portBASE_TYPE | set_asynchronous_api | ||
) |
References configASSERT, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY, freertos_twi_master_init(), pdFALSE, sysclk_get_cpu_hz(), TWI_CLOCK_HZ, twi_eeprom_task(), TWI_I2C_MASTER, twi_notification_semaphore, twi_set_speed(), twi_use_asynchronous_api, USE_RX_ACCESS_MUTEX, USE_TX_ACCESS_SEM, WAIT_RX_COMPLETE, WAIT_TX_COMPLETE, and xSemaphoreTake.
Referenced by main().
void create_usart_cli_task | ( | Usart * | usart_base, |
uint16_t | stack_depth_words, | ||
unsigned portBASE_TYPE | task_priority | ||
) |
void create_usart_echo_test_tasks | ( | Usart * | pxUsart, |
uint16_t | stack_depth_words, | ||
unsigned portBASE_TYPE | task_priority | ||
) |
void create_usb_cdc_cli_task | ( | uint16_t | stack_depth_words, |
unsigned portBASE_TYPE | task_priority | ||
) |
References access_mutex, cdc_new_data_semaphore, configASSERT, usb_cdc_command_console_task(), and vRegisterCLICommands().
Referenced by main().
portBASE_TYPE did_twi_eeprom_test_pass | ( | void | ) |
References eeprom_test_passed, pdFAIL, pdPASS, pdTRUE, portTICK_RATE_MS, portTickType, and xTaskGetTickCount().
Referenced by prvLEDTimerCallback().
void usart_cli_output | ( | const uint8_t * | message_string | ) |
References cli_usart, freertos_usart_write_packet, portTICK_RATE_MS, and portTickType.
Referenced by created_task().
void vRegisterCLICommands | ( | void | ) |
References FreeRTOS_CLIRegisterCommand().
Referenced by create_usart_cli_task(), and create_usb_cdc_cli_task().