4.2.2.5 ac_sync_get_result
Read Comparison result.
int32_t ac_sync_get_result(
struct ac_sync_descriptor *const descr,
const uint8_t comp
)
Parameters
- descr
-
Type: struct ac_sync_descriptor Struct *const
The pointer to AC descriptor
- comp
-
Type: const uint8_t
Comparator number
Returns
Type: int32_t
The comparison result.
- 0
-
The comparison result is 0
- 1
-
The comparison result is 1
- ERR_NOT_READY
-
The comparison result is not ready or input parameters are not correct.