You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
346 B
C
20 lines
346 B
C
|
11 months ago
|
#ifndef __BSP_H__
|
||
|
|
#define __BSP_H__
|
||
|
|
|
||
|
|
enum {
|
||
|
|
TASK_AIRBAG_PRIO = 5,
|
||
|
|
TASK_ABS_PRIO = 2,
|
||
|
|
};
|
||
|
|
|
||
|
|
void BSP_init(void);
|
||
|
|
void BSP_goToSleep(void);
|
||
|
|
void BSP_deployAirbag(void);
|
||
|
|
void BSP_engageABS(void);
|
||
|
|
|
||
|
|
void BSP_intDisable(void);
|
||
|
|
void BSP_intEnable(void);
|
||
|
|
|
||
|
|
_Noreturn void assert_failed(char const * const module, int const id);
|
||
|
|
|
||
|
|
#endif // __BSP_H__
|