MBSP

Microcontroller Board Support Package

User Tools

Site Tools


digital_output_group

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

digital_output_group [ 17.08.2025 05:34] – created larsdigital_output_group [ 17.08.2025 05:45] (current) lars
Line 41: Line 41:
  
 **default**: "off" **default**: "off"
 +
 +===== API =====
 +The part "signal_name" in the described functions will be replaced by the name of the signal. E.g. if your signal is called "debug_led" then the API function "signal_name_on" will become "debug_led_on".
 +
 +<code>void signal_name_on(void)</code>
 +Will set the output pin to output a high Signal. The pin will be at Vcc.
 +If the signal has the "invert" property "on" then the Output will be Low (Gnd).
 +
 +
 +<code>void signal_name_off(void)</code>
 +Will set the output pin to output a low Signal. The pin will be at Gnd.
 +If the signal has the "invert" property "on" then the Output will be High (Vcc).
  
digital_output_group.txt · Last modified: by lars