Bare Metal Programming Tool Kit
|
add the flip() method to a pin class More...
#include <pins.h>
Static Public Member Functions | |
static void | set (bool x) |
set the current level on the pin | |
static void | flip () |
flip (invert) the value fo the pin | |
add the flip() method to a pin class
|
inlinestatic |
|
inlinestatic |
set the current level on the pin
This method sets the current level output by the pin. When the value is true a logic one (high voltage, Vdd) will appear on the pin, when the value if false a the pin will output a logic zero (low voltage, Vss).The init() method must be called first.