1.2.3.4 MC_HallError_Get()

mc_hall_error_t MC_HallError_Get (void )

Returns the current error code of the Hall sensor.

Note:

Call this function from normal context, not from interrupt context.

Parameters:
None.
Returns:

Hall effect sensor error code