STM32G0 MCAL 0.0.1
Tiny MCAL for educational purpose.
Loading...
Searching...
No Matches
pull resistors

Macros

#define PORT_NOPULL   0x00u
 
#define PORT_PULLUP   0x01u
 
#define PORT_PULLDOWN   0x02u
 

Detailed Description

Symbols to specify the ressitor pull configuration on each pin

Macro Definition Documentation

◆ PORT_NOPULL

#define PORT_NOPULL   0x00u

No pull-up, pull-down value

◆ PORT_PULLDOWN

#define PORT_PULLDOWN   0x02u

Pull-down

◆ PORT_PULLUP

#define PORT_PULLUP   0x01u

Pull-up