STM32F1 GPIO

Started by tha, November 15, 2020, 09:29:02 AM

Previous topic - Next topic

tha

9.3.5 JTAG/SWD alternate function remapping
The debug interface signals ถูก mapped บน the GPIO ports ดังแสดงใน Table 36.



เพื่อทำจำนวนของ free(เป็นอิสระ) GPIOs ให้เหมาะในระหว่าง debugging, การแมปนี้สามารถถูกกำหนดค่าในวิธีต่างๆโดยการโปรแกรม the SWJ_CFG[1:0] bits ใน the AF remap and debug I/O configuration register (AFIO_MAPR). อ้างอิงถึง Table 37.


1. ถูกปลดปล่อยได้เพียงถ้าไม่ใช้ asynchronous trace.

tha

9.3.6 ADC alternate function remapping
อ้างอิงถึง AF remap and debug I/O configuration register (AFIO_MAPR).



1. Remap มีให้ใช้เพียงสำหรับ high-density and XL-density devices.

tha

9.3.7 Timer alternate function remapping
Timer 4 channels 1 ถึง 4 สามารถถูก remapped จาก Port B ไปยัง Port D. timer remapping อื่นๆที่สามารถเป็นได้ถูกทำรายการใน Table 44 ถึง Table 46. อ้างอิงถึง AF remap and debug I/O configuration register (AFIO_MAPR).




1. Remap ไม่มีให้ใช้บน 36-pin package.
2. TIM_CH1 and TIM_ETR ใช้ร่วม the same pin แต่ไม่สามารถถูกใช้ในเวลาเดียวกัน (ซึ่งเป็นสาเหตุที่เรามี notation นี้ : TIM2_CH1_ETR).







ปล. ช้าไปหรือเร็วไปหล่ะ บอกมาได้นะครับ


tha

9.3.8 USART alternate function remapping
Refer to AF remap and debug I/O configuration register (AFIO_MAPR).




tha

9.3.9 I2C1 alternate function remapping
Refer to AF remap and debug I/O configuration register (AFIO_MAPR)


tha

9.3.10 SPI1 alternate function remapping
Refer to AF remap and debug I/O configuration register (AFIO_MAPR)


tha

9.3.11 SPI3/I2S3 alternate function remapping
Refer to AF remap and debug I/O configuration register (AFIO_MAPR). This remap is available only in connectivity line devices


tha

9.3.12 Ethernet alternate function remapping
Refer to AF remap and debug I/O configuration register (AFIO_MAPR). Ethernet is available only in connectivity line devices.