|
Lamp-Da 0.1
A compact lantern project
|
Handle the main board output power. More...
Functions | |
| void | write_voltage (const uint16_t voltage_mv) |
| Write a voltage to the output (will only write it in output mode) | |
| void | 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 | blip (const uint32_t timing) |
| short interruption of output voltage | |
| void | cancel_blip () |
| stop an ongoing blip | |
| bool | is_bliping () |
| indicates that the gate is in a blip | |
| void | disable_power_gates () |
| close all external voltage path | |
Handle the main board output power.
| 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
| [in] | voltage_mv | 0 to 20000mV |
| [in] | current_ma | 0 to 6000mA |
| [in] | timeout_ms | 0 to 5000mS |
| void lampda::physical::outputPower::write_voltage | ( | const uint16_t | voltage_mv | ) |
Write a voltage to the output (will only write it in output mode)
Power on the current driver with a specific brightness value
| [in] | voltage_mv | 0 to 20000 mV |