Firmware SDK
twr_module_power

Driver for Power Module. More...

Functions

void twr_module_power_init (void)
 Initialize power module.
 
void twr_module_power_relay_set_state (bool state)
 Set relay state. More...
 
bool twr_module_power_relay_get_state (void)
 Set relay state. More...
 
const twr_led_strip_driver_ttwr_module_power_get_led_strip_driver (void)
 Set relay state. More...
 

Detailed Description

Driver for Power Module.

Function Documentation

◆ twr_module_power_get_led_strip_driver()

const twr_led_strip_driver_t* twr_module_power_get_led_strip_driver ( void  )

Set relay state.

Returns
Relay state

Definition at line 79 of file twr_module_power.c.

◆ twr_module_power_relay_get_state()

bool twr_module_power_relay_get_state ( void  )

Set relay state.

Returns
Relay state

Definition at line 74 of file twr_module_power.c.

◆ twr_module_power_relay_set_state()

void twr_module_power_relay_set_state ( bool  state)

Set relay state.

Parameters
[in]stateDesired relay state

Definition at line 67 of file twr_module_power.c.

Here is the call graph for this function: