mikroSDK Reference Manual
drv_digital_in.h File Reference

Go to the source code of this file.

Data Structures

struct  digital_in_t
 Digital input driver context structure, consisted of the following fields : More...
 

Enumerations

enum  digital_in_err_t
 

Functions

err_t digital_in_init (digital_in_t *in, pin_name_t name)
 Initialize GPIO pin. More...
 
uint8_t digital_in_read (digital_in_t *in)
 Read GPIO pin. More...
 

Enumeration Type Documentation

◆ digital_in_err_t

Return values.

Enumerator
DIGITAL_IN_SUCCESS 

Success.

DIGITAL_IN_UNSUPPORTED_PIN 

Error.