Host/spisoft_arch.h File Reference

Go to the source code of this file.

Namespaces

 spisoft
 

Macros

#define GP_IN(pin)   digitalRead(pin)
 
#define GP_OUT(pin, val)   digitalWrite(pin, (val)&1)
 

Macro Definition Documentation

◆ GP_IN

#define GP_IN (   pin)    digitalRead(pin)

◆ GP_OUT

#define GP_OUT (   pin,
  val 
)    digitalWrite(pin, (val)&1)