1#ifndef INCLUDE_GUARD__EPS_CHANNEL_CONTROL_H
2#define INCLUDE_GUARD__EPS_CHANNEL_CONTROL_H
16 char *response_output_buf,
17 uint16_t response_output_buf_len,
21 uint16_t status_bitfield_1, uint16_t status_bitfield_2,
22 char *response_output_buf, uint16_t response_output_buf_len
char * EPS_channel_to_str(EPS_CHANNEL_enum_t channel)
Converts channel enum into an ASCII-printable name string.
Definition eps_channel_control.c:60
void EPS_get_enabled_channels_json(uint16_t status_bitfield_1, uint16_t status_bitfield_2, char *response_output_buf, uint16_t response_output_buf_len)
Definition eps_channel_control.c:157
EPS_CHANNEL_enum_t EPS_channel_from_str(const char channel_name[])
Converts an EPS channel name to a channel enum.
Definition eps_channel_control.c:14
uint8_t EPS_set_channel_enabled(EPS_CHANNEL_enum_t channel, uint8_t enabled)
Sets the enabled state of an EPS channel (on or off).
Definition eps_channel_control.c:108
uint8_t EPS_convert_ch_num_to_string_and_append(char *response_output_buf, uint16_t response_output_buf_len, uint8_t ch_number)
Convert EPS ch_number to ch_name, then append as a JSON list element to response_output_buf.
Definition eps_channel_control.c:143
uint8_t EPS_check_status_bit_of_channel(uint16_t status_bitfield_1, uint16_t status_bitfield_2, uint8_t channel_number)
Takes in the status bitfields of the eps and outputs the status of the given channel number.
Definition eps_channel_control.c:126
EPS_CHANNEL_enum_t
Definition eps_types.h:18