CTS-SAT-1-OBC-Firmware
Toggle main menu visibility
Loading...
Searching...
No Matches
firmware
Core
Inc
eps_drivers
eps_power_management.h
Go to the documentation of this file.
1
#ifndef INCLUDE_GUARD__EPS_POWER_MANAGEMENT_H__
2
#define INCLUDE_GUARD__EPS_POWER_MANAGEMENT_H__
3
4
#include "
eps_drivers/eps_types.h
"
5
6
extern
uint16_t
EPS_current_mA_threshhold
[32];
7
8
uint8_t
EPS_monitor_and_disable_overcurrent_channels
();
9
10
void
EPS_channel_management
(
const
EPS_struct_pdu_housekeeping_data_eng_t
*EPS_pdu_housekeeping_data_eng);
11
12
void
EPS_CMD_power_management_set_current_threshold
(uint8_t channel, uint16_t threshold);
13
14
#endif
EPS_current_mA_threshhold
uint16_t EPS_current_mA_threshhold[32]
Definition
eps_power_management.c:12
EPS_monitor_and_disable_overcurrent_channels
uint8_t EPS_monitor_and_disable_overcurrent_channels()
Monitors the power consumption of each channel.
Definition
eps_power_management.c:57
EPS_channel_management
void EPS_channel_management(const EPS_struct_pdu_housekeeping_data_eng_t *EPS_pdu_housekeeping_data_eng)
Monitor the power consumption of each channel and disable any channels that exceed a certain threshol...
Definition
eps_power_management.c:85
EPS_CMD_power_management_set_current_threshold
void EPS_CMD_power_management_set_current_threshold(uint8_t channel, uint16_t threshold)
Definition
eps_power_management.c:144
eps_types.h
EPS_struct_pdu_housekeeping_data_eng_t
Definition
eps_types.h:130
Generated by
1.17.0