mikroSDK Reference Manual
digital_in_t Struct Reference

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

Data Fields

hal_gpio_pin_t pin
 

Detailed Description

The context structure for storing driver internal state.

Note
The values are specified by digital_in_init. See hal_gpio_pin_t for more details.
Warning
The contents of the context structure are used by the module and must not be altered. Reading or writing data directly from a control structure by user should be avoided.

Field Documentation

◆ pin

hal_gpio_pin_t digital_in_t::pin

Structure defining pin base and mask.