Introduction to STM32 AFIO port

Publisher:谁与争锋1Latest update time:2018-08-27 Source: eefocusKeywords:STM32 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1. There are many I/O ports on STM32, and there are also many built-in peripherals I2C, ADC, ISP, USART. In order to save lead pins, these built-in peripherals basically share pins with I/O ports, that is, the multiplexing function of I/O pins. 
2. In order to optimize the number of peripherals in 64-pin or 100-pin packages, some multiplexing functions can be remapped to other pins. Set the multiplexing remapping and debug I/O configuration register (AFIO_MAPR) to achieve pin remapping. At this time, the multiplexing functions are no longer mapped to their original allocation. 
3. The AFIO clock needs to be turned on only when the AFIO event control register, AFIO remapping function and external interrupt (EXTI) control register are used.

Keywords:STM32 Reference address:Introduction to STM32 AFIO port

Previous article:STM32 commonly used pins redefine peripherals
Next article:STM32 external interrupt processing flow and precautions

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号