MBSP

Microcontroller Board Support Package

User Tools

Site Tools


digital_out

Digital out

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”.

void signal_name_on(void)

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).

void signal_name_off(void)

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_out.txt · Last modified: 02.12.2024 01:19 by lars