|
Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "std.h"Go to the source code of this file.
Functions | |
| void | power_switch_init (void) |
| Intialize the power switch pins This sets the power switch pins to te initial state. | |
| void | power_switch_set (bool val) |
| Set the power switch to enable/disable. | |
Variables | |
| bool | power_switch_status |
Definition in file power_switch.h.
|
extern |
Intialize the power switch pins This sets the power switch pins to te initial state.
Definition at line 39 of file power_switch.c.
References gpio_clear(), gpio_setup_output(), POWER_SWITCH_GPIO, and power_switch_set().
|
extern |
Set the power switch to enable/disable.
| val | True enables the pin, False disables the pin |
Definition at line 53 of file power_switch.c.
References gpio_clear(), gpio_set(), POWER_SWITCH_GPIO, power_switch_status, and val.
Referenced by power_switch_init().
|
extern |
Definition at line 29 of file power_switch.c.
Referenced by power_switch_set().