Tool Libs
UMIT-TIROL Institute of Automation and Control Engineering library collection
 
Loading...
Searching...
No Matches
DIO Class Reference

Wrapper class for simple digital input/output pin. More...

#include <gpio.h>

Public Member Functions

void set (bool high)
 set digital output level
 
bool get ()
 read digital input level
 
void toggle ()
 toggle digital output level
 

Detailed Description

Wrapper class for simple digital input/output pin.

Member Function Documentation

◆ set()

void DIO::set ( bool  high)
inline

set digital output level

Parameters
hightrue/false

◆ get()

bool DIO::get ( )
inline

read digital input level

Returns
high/low

The documentation for this class was generated from the following file: