-
Notifications
You must be signed in to change notification settings - Fork 18
gpio
Anton Gusev edited this page Jun 29, 2016
·
1 revision
There are two types of GPIO module in chips supported: old-style (used in STM32F1XX) and new one (all other chips).
GPIO module supported through pin.h
module. Actually pin.h
module just checks selected chip and
includes appropriate module. There are 3 modules:
- pin_stm32F1xx.h
- pin_stm32F4xx.h
- pin_stm32L0xx.h
First module (pin_stm32F1xx.h) implements support for old-type GPIO.
Second module (pin_stm32F4xx.h) implements new-style GPIO.
Third module (pin_stm32L0xx.h) implements new-style GPIO without using bit-band. This is due to lack of bit-band support on GPIO area in STM32L0XX chips.