43 GPIO_PinState init_state;
retStatus output_init(digOutputs output, digitalOutputInitData digital_output_init_data)
Digital output initialization function.
Definition: do.c:19
retStatus output_toggle(digOutputs output)
Toggles the output state.
Definition: do.c:50
dioStates output_get_state(digOutputs output)
Get the current output state.
Definition: do.c:80
__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)
Definition: do.c:90
digOutputs
Definition: do.h:35
retStatus output_set(digOutputs output_name, GPIO_PinState state)
Sets output state.
Definition: do.c:65
provides HAL includes for different MCU cores
Initialization of digital/analog inputs and outputs.
@ DO_NONE
DUMMY to keep the track of enum length.
Definition: init.h:30
Defines for turning on/off the library modules.
GPIO_TypeDef * port
MCU GPIO port.
Definition: do.h:42
uint16_t pin
MCU GPIO pin number.
Definition: do.h:41
Defines and functions that are useful for all library files.
dioStates
digital input/output states
Definition: utility.h:31
retStatus
possible return values
Definition: utility.h:13