PIO_Get
Default mainpageat91libperipheralspioPIO_Get
Description Source Call Graph
PIO_Get
Returns 1 if one or more PIO of the given Pin instance currently have a high level; otherwise returns 0.
 
Syntax / parameters
unsigned char PIO_Get (const Pin *pin)

Name Type Default Description
pin const Pin *
  Pointer to a Pin instance describing one or more pins.
 
Return value unsigned char
  1 if the Pin instance contains at least one PIO that currently has a high level; otherwise 0.
Description
Returns 1 if one or more PIO of the given Pin instance currently have a high level; otherwise returns 0.
This method returns the actual value that is being read on the pin. To return the supposed output value of a pin, use PIO_GetOutputDataStatus() instead.
 
Source
The documentation for this Member was generated from the following files:
  • pio.c