Infrared4Arduino 1.2.3
Loading...
Searching...
No Matches
Typedefs
PinModeStatus.h File Reference

This file make sure that the types PinMode and PinStatus, as well as the values HIGH and LOW are availabled. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef int PinStatus
 Values of a digital pin. More...
 
typedef int PinMode
 Different operating modes of a GPIO pin. More...
 

Detailed Description

This file make sure that the types PinMode and PinStatus, as well as the values HIGH and LOW are availabled.

To test this, we use the defined-ness of LOW.

Some, but not all, architectures defines PinStatus and PinMode in a file like ~/.arduino15/packages/arduino/hardware/.../cores/arduino/api/Common.h

See also https://github.com/arduino/ArduinoCore-API/issues/25

Definition in file PinModeStatus.h.

Typedef Documentation

◆ PinMode

typedef int PinMode

Different operating modes of a GPIO pin.

Definition at line 55 of file PinModeStatus.h.

◆ PinStatus

typedef int PinStatus

Values of a digital pin.

Definition at line 52 of file PinModeStatus.h.