Midnight Sun Firmware
Loading...
Searching...
No Matches
killswitch.h
1
#pragma once
2
3
/************************************************************************************************
4
* @file killswitch.h
5
*
6
* @brief Vehicle killswitch handler header file
7
*
8
* @date 2025-09-02
9
* @author Midnight Sun Team #24 - MSXVI
10
************************************************************************************************/
11
12
/* Standard library Headers */
13
14
/* Inter-component Headers */
15
#include "gpio_interrupts.h"
16
#include "notify.h"
17
#include "tasks.h"
18
19
/* Intra-component Headers */
20
21
#define REAR_CONTROLLER_KILLSWITCH_EVENT 1U
22
35
StatusCode
killswitch_init
(Event event,
const
Task
*task);
36
40
StatusCode
killswitch_run
();
41
killswitch_init
StatusCode killswitch_init(Event event, const Task *task)
Initializes the killswitch with interrupt handling.
Definition:
killswitch.c:35
killswitch_run
StatusCode killswitch_run()
Run the program that checks killswitch.
Definition:
killswitch.c:52
StatusCode
StatusCode
StatusCodes for various errors.
Definition:
status.h:27
Task
Definition:
tasks.h:83
projects
rear_controller
inc
killswitch.h
Generated by
1.9.5