STC15W4K48S4引脚图
时间: 2023-11-16 11:07:01 浏览: 302
STC15W4K48S4的引脚图如下:
```
┌───┐
RST --- 1 │ │ 40 --- P0.0
T0 --- 2 │ │ 39 --- P0.1
T1 --- 3 │ │ 38 --- P0.2
T2 --- 4 │ │ 37 --- P0.3
T3 --- 5 │ │ 36 --- P0.4
T4 --- 6 │ │ 35 --- P0.5
T5 --- 7 │ │ 34 --- P0.6
T6 --- 8 │ │ 33 --- P0.7
T7 --- 9 │ │ 32 --- P1.0
INT0 --- 10 │ │ 31 --- P1.1
INT1 --- 11 │ │ 30 --- P1.2
INT2 --- 12 │ │ 29 --- P1.3
INT3 --- 13 │ │ 28 --- P1.4
INT4 --- 14 │ │ 27 --- P1.5
INT5 --- 15 │ │ 26 --- P1.6
INT6 --- 16 │ │ 25 --- P1.7
INT7 --- 17 │ │ 24 --- P3.0
ALE --- 18 │ │ 23 --- P3.1
WR# --- 19 │ │ 22 --- P3.2
RD# --- 20 │ │ 21 --- P3.3
└───┘
```
其中,P0.0到P0.7是端口0的引脚,P1.0到P1.7是端口1的引脚,P3.0到P3.3是端口3的引脚。根据引用中的描述,STC15W4K48S4的PCA_PWM只有两路PWM0和PWM1已经用来控制两个风机,而PWM7引脚是空闲的,所以可以使用PWM7引脚来控制第三个风机。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [STC15W4K48S4 它有6通道高精度PWM发生器](https://blog.csdn.net/xw_0104/article/details/51221462)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文