Class LedHAL
Public Functions
Type | Name |
---|---|
void | toggle () Toggle the LED state. |
void | turnOff () Turn the LED off. |
void | turnOn () Turn the LED on. |
Public Functions Documentation
function toggle
Toggle the LED state.
Changes the LED state from on to off or vice versa.
Performs lazy initialization if not already done.
function turnOff
Turn the LED off.
Ensures the LED is initialized, then sets the output state to inactive.
function turnOn
Turn the LED on.
Ensures the LED is initialized, then sets the output state to active.
The documentation for this class was generated from the following file docs/core/zephyr/modules/owntech_spin_api/zephyr/src/LedHAL.h