1. When a port is to be configured as an external interrupt line, the port must be configured in input mode.
2. For bidirectional multiplexing functions, the port bit must be configured with the multiplexing function output mode (push-pull or open-drain). At this time, the input driver is configured as floating input mode.
3. When the port is configured as output mode, the pin defaults to low level.
4. To use the default multiplexing function of GPIO, you only need to set the corresponding port bit configuration register (GPIOx_CRL or GPIOx_CRH) to the corresponding value. There is no need to turn on the auxiliary function IO clock. The auxiliary function IO clock only needs to be turned on when remapping is used.
Previous article:STM32 register operation learning - general timer/counter shadow register
Next article:The difference between STM32 interrupts and events
Recommended ReadingLatest update time:2024-11-16 07:39
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Occupy the posting position, ESP32---WS2812 16*16 dot matrix drawing points, lines and surfaces
- ASM1117 SOT-323 heat sink problem?
- About the pitfalls of ADXL362 accelerometer
- SimpleLink Wi-Fi Devices
- Efficiency Programming of Single Chip Microcomputer Active Buzzer Driver
- TMS320F28335 project development record 9_28335 interrupt system
- About the ACP in the ARM Cortex-A9 multi-core MPcore
- MSP430F5529 general I/O port settings
- PWM principle PWM frequency and duty cycle detailed explanation
- TI mmWave sensors for contactless private gesture detection