CubeMon-Vue-Demo-STM32F407VGT6U
|
digital outputs with set/get and toggle functions More...
Data Structures | |
struct | digitalOutputDef |
Typedefs | |
typedef struct digitalOutputDef | digitalOutputDef |
Functions | |
retStatus | output_init (digOutputs output_name, digitalOutputInitData digital_output_init_data) |
Digital output initialization function. More... | |
retStatus | output_toggle (digOutputs output_name) |
Toggles the output state. More... | |
retStatus | output_set (digOutputs output_name, GPIO_PinState state) |
Sets output state. More... | |
dioStates | output_get_state (digOutputs output_name) |
Get the current output state. More... | |
__weak retStatus | output_set_hw_HAL (digOutputs output_name, GPIO_PinState state) |
Sets HW output state. In case you want to implement it differently (f.e. not using HAL) More... | |
digital outputs with set/get and toggle functions
dioStates output_get_state | ( | digOutputs | output | ) |
Get the current output state.
[in] | output | output identification, defined by digOutputs |
retStatus output_init | ( | digOutputs | output, |
digitalOutputInitData | digital_output_init_data | ||
) |
Digital output initialization function.
[in] | output | output identification, defined by digOutputs |
[in] | digital_output_init_data | output initialization data digitalOutputInitData |
retStatus output_set | ( | digOutputs | output_name, |
GPIO_PinState | state | ||
) |
Sets output state.
[in] | output_name | output identification, defined by digOutputs |
[in] | state | state to be set |
__weak retStatus output_set_hw_HAL | ( | digOutputs | output_name, |
GPIO_PinState | state | ||
) |
Sets HW output state. In case you want to implement it differently (f.e. not using HAL)
[in] | output_name | output identification, defined by digOutputs |
[in] | state | state to be set |
retStatus output_toggle | ( | digOutputs | output | ) |
Toggles the output state.
[in] | output | output identification, defined by digOutputs |