controls_t Struct Reference
|
yasimavr
|
Loading...
Searching...
No Matches
Pin::controls_t Struct Reference
#include <sim_pin.h>
Public Attributes | |
| unsigned char | dir = 0 |
| Direction control: 0=IN, 1=OUT. | |
| unsigned char | drive = 0 |
| Driving state: 0=LOW, 1=HIGH. | |
| bool | inverted = false |
| Enable inversion of the driving state. | |
| bool | pull_up = false |
| Enable the pull up. | |
Detailed Description
Structure for defining the controls of a GPIO
Member Data Documentation
◆ dir
| unsigned char Pin::controls_t::dir = 0 |
Direction control: 0=IN, 1=OUT.
◆ drive
| unsigned char Pin::controls_t::drive = 0 |
Driving state: 0=LOW, 1=HIGH.
◆ inverted
| bool Pin::controls_t::inverted = false |
Enable inversion of the driving state.
◆ pull_up
| bool Pin::controls_t::pull_up = false |
Enable the pull up.
The documentation for this struct was generated from the following file:
Generated by