Midnight Sun Firmware
Loading...
Searching...
No Matches
aux_sense.h
1#pragma once
2
3/************************************************************************************************
4 * @file aux_sense.h
5 *
6 * @brief Source code for Aux Battery sense
7 *
8 * @date 2025-01-25
9 * @author Midnight Sun Team #24 - MSXVI
10 ************************************************************************************************/
11
12/* Standard library Headers */
13
14/* Inter-component Headers */
15#include "bms_carrier.h"
16
17/* Intra-component Headers */
18
30 uint16_t batt_voltage_mv;
31};
32
40
47
StatusCode
StatusCodes for various errors.
Definition: status.h:27
StatusCode aux_sense_run(void)
Run the aux sense interface.
Definition: aux_sense.c:47
StatusCode aux_sense_init(BmsStorage *storage)
Initialize the aux sense interface.
Definition: aux_sense.c:31
Aux sense storage.
Definition: aux_sense.h:28
GpioAddress sense_adc
Definition: aux_sense.h:29
uint16_t batt_voltage_mv
Definition: aux_sense.h:30
Battery management system storage.
Definition: bms_carrier.h:50
Port and pin data.
Definition: gpio.h:112