![]() |
GaIA BIOS Library
|
IO thread function prototypes for CMSIS-OS. More...
#include "cmsis_os.h"Functions | |
| osThreadId | gwa_io_thread_create (void) |
| Creates the IO handling thread. | |
| void | diag_error_callback (uint8_t out) |
| This function gets called when an error occurs in the diagnostics of the outputs. | |
| void | out_error_callback (uint8_t out) |
| This function gets called when the output data read does not match with data previously written. | |
Variables | |
| osMutexId | outMutexId |
| Mutex used for synchronize access to output values. | |
IO thread function prototypes for CMSIS-OS.
| void diag_error_callback | ( | uint8_t | out | ) |
This function gets called when an error occurs in the diagnostics of the outputs.
This function should be provided by the user.
| out | output port having the problem. The user should use the diag_data values to know which of the 8 outputs of the out port have a problem. |
| osThreadId gwa_io_thread_create | ( | void | ) |
Creates the IO handling thread.
| void out_error_callback | ( | uint8_t | out | ) |
This function gets called when the output data read does not match with data previously written.
This function should be provided by the user.
| out | output port having the problem. The user can use the oldoutw_data (values previously written) and oldoutr_data (values read back) values to know the values that caused the problem. |