demo-epb  v1.0
Elektrische Parkbremse - slohmaier Dev Process Demo
apply_controller.h-Dateireferenz

Apply/Hold/Release-Steuerung der EPB. Mehr ...

#include "epb_types.h"

gehe zum Quellcode dieser Datei

Datenstrukturen

struct  ApplyInputs
 

Makrodefinitionen

#define APPLY_TARGET_FORCE_N   12000U /* Ziel-Klemmkraft je Aktor */
 
#define APPLY_TIMEOUT_50MS   30U /* 30 * 50ms = 1500 ms */
 
#define HOLD_TOLERANCE_N   1200U /* 10% von Ziel */
 

Funktionen

EpbStatus apply_ctrl_init (void)
 
void apply_ctrl_step_50ms (const ApplyInputs *in)
 Step-Funktion 50 ms. Mehr ...
 
EpbState apply_ctrl_get_state (void)
 
EpbStatus apply_ctrl_last_error (void)
 
uint32_t apply_ctrl_get_step_count (void)
 

Ausführliche Beschreibung

Apply/Hold/Release-Steuerung der EPB.

Architecture-Element:
SWA-002
Requirements:
SWE-001 SWE-002 SWE-003 SWE-004

ASIL: D

Definiert in Datei apply_controller.h.

Makro-Dokumentation

◆ APPLY_TARGET_FORCE_N

#define APPLY_TARGET_FORCE_N   12000U /* Ziel-Klemmkraft je Aktor */

Definiert in Zeile 26 der Datei apply_controller.h.

◆ APPLY_TIMEOUT_50MS

#define APPLY_TIMEOUT_50MS   30U /* 30 * 50ms = 1500 ms */

Definiert in Zeile 27 der Datei apply_controller.h.

◆ HOLD_TOLERANCE_N

#define HOLD_TOLERANCE_N   1200U /* 10% von Ziel */

Definiert in Zeile 28 der Datei apply_controller.h.

Dokumentation der Funktionen

◆ apply_ctrl_get_state()

EpbState apply_ctrl_get_state ( void  )

Definiert in Zeile 140 der Datei apply_controller.c.

Benutzt s_ctx und ApplyCtx::state.

◆ apply_ctrl_get_step_count()

uint32_t apply_ctrl_get_step_count ( void  )

Definiert in Zeile 150 der Datei apply_controller.c.

Benutzt s_ctx und ApplyCtx::step_count.

◆ apply_ctrl_init()

◆ apply_ctrl_last_error()

EpbStatus apply_ctrl_last_error ( void  )

Definiert in Zeile 145 der Datei apply_controller.c.

Benutzt ApplyCtx::last_error und s_ctx.

◆ apply_ctrl_step_50ms()