新手入门
- 积分
- 11
- 金钱
- 11
- 注册时间
- 2016-10-14
- 在线时间
- 1 小时
|
1金钱
大家好!
本人刚接触ST单片机,最近在调试STM8S103,发现一个问题,请教大家。
数据手册上关于管脚映射的说明如下所示:
AFR1 Alternate function remapping option 1 (2)
0: AFR1 remapping option inactive: default alternate function(1)
1: Port A3 alternate function = SPI_NSS; port D2 alternate function =TIM2_CH3.
AFR0 Alternate function remapping option 0(2)
0: AFR0 remapping option inactive: Default alternate functions(1)
1: Port C5 alternate function = TIM2_CH1; port C6 alternate function =TIM1_CH1; port C7 alternate function = TIM1_CH2.
1. Refer to the pinout description.
2. Do not use more than one remapping option in the same port. It is forbidden to enable both AFR1 and AFR0.
问题:
我在调试中发现:即使同时使能了上述两项(AFR0,AFR1),MCU似乎也正常工作。
现在我暂时不想改动硬件设计,请教大家:同时使能AFR0和AFR1会导致什么BUG吗?
谢谢!
|
|