![]() |
RTEMS 6.3
|
Macros | |
| #define | __HAL_COMP_RESET_HANDLE_STATE(__HANDLE__) |
| Reset COMP handle state. | |
| #define | COMP_CLEAR_ERRORCODE(__HANDLE__) |
| Clear COMP error code (set it to no error code "HAL_COMP_ERROR_NONE"). | |
| #define | __HAL_COMP_ENABLE(__HANDLE__) |
| Enable the specified comparator. | |
| #define | __HAL_COMP_DISABLE(__HANDLE__) |
| Disable the specified comparator. | |
| #define | __HAL_COMP_LOCK(__HANDLE__) |
| Lock the specified comparator configuration. | |
| #define | __HAL_COMP_IS_LOCKED(__HANDLE__) |
| Check whether the specified comparator is locked. | |
| #define __HAL_COMP_DISABLE | ( | __HANDLE__ | ) |
Disable the specified comparator.
| __HANDLE__ | COMP handle |
| None |
| #define __HAL_COMP_ENABLE | ( | __HANDLE__ | ) |
Enable the specified comparator.
| __HANDLE__ | COMP handle |
| None |
| #define __HAL_COMP_IS_LOCKED | ( | __HANDLE__ | ) |
Check whether the specified comparator is locked.
| __HANDLE__ | COMP handle |
| Value | 0 if COMP instance is not locked, value 1 if COMP instance is locked |
| #define __HAL_COMP_LOCK | ( | __HANDLE__ | ) |
Lock the specified comparator configuration.
| __HANDLE__ | COMP handle |
| None |
| #define __HAL_COMP_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
Reset COMP handle state.
| __HANDLE__ | COMP handle |
| None |
| #define COMP_CLEAR_ERRORCODE | ( | __HANDLE__ | ) |
Clear COMP error code (set it to no error code "HAL_COMP_ERROR_NONE").
| __HANDLE__ | COMP handle |
| None |