Description: #ifndef ANTILIB_GPIO_H
#define ANTILIB_GPIO_H
#define GPIO_CNF_INPUT_ANALOG 0
#define GPIO_CNF_INPUT_FLOATING 1
#define GPIO_CNF_INPUT_PULLUPDOWN 2
#define GPIO_CNF_OUTPUT_PUSHPULL 0
#define GPIO_CNF_OUTPUT_OPENDRAIN 1
#define GPIO_CNF_AFIO_PUSHPULL 2
#define GPIO_CNF_AFIO_OPENDRAIN 3
#define GPIO_MODE_INPUT 0
#define GPIO_MODE_OUTPUT10MHz 1
#define GPIO_MODE_OUTPUT2MHz 2
#define GPIO_MODE_OUTPUT50MHz 3
#define GPIOCONF(mode, cnf) ((cnf << 2) | (mode))
#define GPIOPINCONFL(pin, conf) (conf << (pin * 4))
#define GPIOPINCONFH(pin, conf) (conf << ((pin - 8) * 4))
#define CONFMASKL(pin) ((u32)~(15 << (pin * 4
To Search:
File list (Check if you may need any files):
Drivers\core_cm3.c
.......\core_cm3.h
.......\stm32f10x.h
.......\system_stm32f10x.c
.......\system_stm32f10x.h
Listings\project.map
........\startup_stm32f10x_md_vl.lst
Objects\ExtDll.iex
.......\core_cm3.crf
.......\core_cm3.d
.......\core_cm3.o
.......\main.crf
.......\main.d
.......\main.o
.......\project.axf
.......\project.build_log.htm
.......\project.htm
.......\project.lnp
.......\project_Target 1.dep
.......\startup_stm32f10x_md_vl.d
.......\startup_stm32f10x_md_vl.o
.......\startup_stm32f10x_md_vl_1.d
.......\startup_stm32f10x_md_vl_1.o
.......\system_stm32f10x.crf
.......\system_stm32f10x.d
.......\system_stm32f10x.o
RTE\Device\STM32F100RB\RTE_Device.h
...\......\...........\startup_stm32f10x_md_vl.s
...\......\...........\system_stm32f10x.c
...\RTE_Components.h
antilib_gpio.h
main.c
project.build_log.htm
project.uvguix.uwasn
project.uvoptx
project.uvprojx