Robot
The embedded systems for UTRA's autonomous humanoid soccer-playing robot
Callbacks

Callback functions for unblocking FreeRTOS threads which perform non-blocking I/O. More...

Collaboration diagram for Callbacks:

Functions

void HAL_I2C_MemRxCpltCallback (I2C_HandleTypeDef *hi2c)
 This function is called whenever a memory read from a I2C device is completed. For this program, the callback behaviour consists of unblocking the thread which initiated the I/O and yielding to a higher priority task from the ISR if there are any that can run. More...
 
void HAL_UART_TxCpltCallback (UART_HandleTypeDef *huart)
 This function is called whenever a transmission from a UART module is completed. For this program, the callback behaviour consists of unblocking the thread which initiated the I/O and yielding to a higher priority task from the ISR if there are any that can run. More...
 
void HAL_UART_RxCpltCallback (UART_HandleTypeDef *huart)
 This function is called whenever a reception from a UART module is completed. For this program, the callback behaviour consists of unblocking the thread which initiated the I/O and yielding to a higher priority task from the ISR if there are any that can run. More...
 
void HAL_UART_ErrorCallback (UART_HandleTypeDef *huart)
 This function is called whenever an error is encountered in association with a UART module. For this program, the callback behaviour consists of storing the error code in a local variable. More...
 

Detailed Description

Callback functions for unblocking FreeRTOS threads which perform non-blocking I/O.

Function Documentation

◆ HAL_I2C_MemRxCpltCallback()

void HAL_I2C_MemRxCpltCallback ( I2C_HandleTypeDef *  hi2c)

This function is called whenever a memory read from a I2C device is completed. For this program, the callback behaviour consists of unblocking the thread which initiated the I/O and yielding to a higher priority task from the ISR if there are any that can run.

Parameters
hi2cpointer to a I2C_HandleTypeDef structure that contains the configuration information for I2C module corresponding to the callback
Returns
None

Definition at line 772 of file freertos.cpp.

◆ HAL_UART_ErrorCallback()

void HAL_UART_ErrorCallback ( UART_HandleTypeDef *  huart)

This function is called whenever an error is encountered in association with a UART module. For this program, the callback behaviour consists of storing the error code in a local variable.

Parameters
huartpointer to a UART_HandleTypeDef structure that contains the configuration information for UART module corresponding to the callback
Returns
None

Definition at line 866 of file freertos.cpp.

◆ HAL_UART_RxCpltCallback()

void HAL_UART_RxCpltCallback ( UART_HandleTypeDef *  huart)

This function is called whenever a reception from a UART module is completed. For this program, the callback behaviour consists of unblocking the thread which initiated the I/O and yielding to a higher priority task from the ISR if there are any that can run.

Parameters
huartpointer to a UART_HandleTypeDef structure that contains the configuration information for UART module corresponding to the callback
Returns
None

Definition at line 831 of file freertos.cpp.

◆ HAL_UART_TxCpltCallback()

void HAL_UART_TxCpltCallback ( UART_HandleTypeDef *  huart)

This function is called whenever a transmission from a UART module is completed. For this program, the callback behaviour consists of unblocking the thread which initiated the I/O and yielding to a higher priority task from the ISR if there are any that can run.

Parameters
huartpointer to a UART_HandleTypeDef structure that contains the configuration information for UART module corresponding to the callback
Returns
None

Definition at line 793 of file freertos.cpp.