If mode specifies input, configuration can be.
More...
If mode specifies input, configuration can be.
- Analog input
- Floating input
- Pull up/down input
If mode specifies output, configuration can be
- Digital push-pull
- Digital open drain
- Alternate function push-pull or analog output
- Alternate function open drain or analog output
◆ GPIO_CNF_INPUT_ANALOG
#define GPIO_CNF_INPUT_ANALOG 0x00 |
◆ GPIO_CNF_INPUT_FLOAT
#define GPIO_CNF_INPUT_FLOAT 0x01 /* Default */ |
Digital Input Floating.
Definition at line 620 of file f1/gpio.h.
◆ GPIO_CNF_INPUT_PULL_UPDOWN
#define GPIO_CNF_INPUT_PULL_UPDOWN 0x02 |
Digital Input Pull Up and Down.
Definition at line 622 of file f1/gpio.h.
◆ GPIO_CNF_OUTPUT_ALTFN_OPENDRAIN
#define GPIO_CNF_OUTPUT_ALTFN_OPENDRAIN 0x03 |
Alternate Function Output Open Drain.
Definition at line 631 of file f1/gpio.h.
◆ GPIO_CNF_OUTPUT_ALTFN_PUSHPULL
#define GPIO_CNF_OUTPUT_ALTFN_PUSHPULL 0x02 |
Alternate Function Output Pushpull.
Definition at line 629 of file f1/gpio.h.
◆ GPIO_CNF_OUTPUT_OPENDRAIN
#define GPIO_CNF_OUTPUT_OPENDRAIN 0x01 |
Digital Output Open Drain.
Definition at line 627 of file f1/gpio.h.
◆ GPIO_CNF_OUTPUT_PUSHPULL
#define GPIO_CNF_OUTPUT_PUSHPULL 0x00 |
Digital Output Pushpull.
Definition at line 625 of file f1/gpio.h.