|
Lamp-Da 0.1
A compact lantern project
|
Interface for the physical components of the main power output (eg: LED strip output). More...
Go to the source code of this file.
Namespaces | |
| namespace | lampda |
| Program scope. | |
| namespace | lampda::physical |
| Handle the physical modules drivers. | |
| namespace | lampda::physical::outputPower |
| Handle the main board output power. | |
Functions | |
| void | lampda::physical::outputPower::write_voltage (const uint16_t voltage_mv) |
| Write a voltage to the output (will only write it in output mode) | |
| void | lampda::physical::outputPower::write_temporary_output_limits (const uint16_t voltage_mv, const uint16_t current_ma, const uint32_t timeout_ms) |
| overwrite the output characteristics for a given duration. Gets back to the previous settings after the tiemout, or if write_voltage is called again | |
| void | lampda::physical::outputPower::blip (const uint32_t timing) |
| short interruption of output voltage | |
| void | lampda::physical::outputPower::cancel_blip () |
| stop an ongoing blip | |
| bool | lampda::physical::outputPower::is_bliping () |
| indicates that the gate is in a blip | |
| void | lampda::physical::outputPower::disable_power_gates () |
| close all external voltage path | |
Interface for the physical components of the main power output (eg: LED strip output).