EpbStatus actuator_release(ActuatorId id, uint8_t pwm_percent)
EpbStatus actuator_apply(ActuatorId id, uint8_t pwm_percent)
EpbStatus actuator_stop(ActuatorId id)
Low-level control of the EPB actuators.
static uint16_t min_force(const ApplyInputs *in)
EpbStatus apply_ctrl_init(void)
static void enter_state(EpbState new_state)
static bool apply_request_present(const ApplyInputs *in)
static bool release_preconditions_ok(const ApplyInputs *in)
EpbState apply_ctrl_get_state(void)
static bool release_request_present(const ApplyInputs *in)
uint32_t apply_ctrl_get_step_count(void)
EpbStatus apply_ctrl_last_error(void)
void apply_ctrl_step_50ms(const ApplyInputs *in)
50 ms step function.
Apply/Hold/Release control of the EPB.
#define APPLY_TIMEOUT_50MS
#define APPLY_TARGET_FORCE_N