迪文科技论坛

 找回密码
 立即注册
搜索
查看: 99|回复: 1

[Question]T5L0 setup PWM3

[复制链接]

1

主题

0

回帖

26

积分

新手上路

Rank: 1

积分
26
发表于 2025-5-14 21:49:24 | 显示全部楼层 |阅读模式
Hello! I am writing a program in Keli on C51 for Dwin based on T5L0
I do not use Dwin OS
I want to configure PWM3. The datasheet says that PWM3 is output to pin 62 P1.3
But the documentation only has addresses for pwm0 and pwm1
PWM1_Set 0x88
PWM0_Set 0x86
PWM0_Out 0x92
PWM1_Out 0x93
And there is no information for pwm2 and pwm3

I found an example only for configuring PWM0 via the sys_write_vp function
  1. <blockquote>void pwm_set_duty(u16 duty)
复制代码
But I cannot find address for pwm2 and pwm3

Could you tell, plesase, is there any way to configure pwm3 on the P1.3 without using Dwin OS?
Thanks

回复

使用道具 举报

0

主题

296

回帖

2191

积分

金牌会员

Rank: 6Rank: 6

积分
2191
发表于 2025-5-15 18:49:20 | 显示全部楼层
hello,NO PWM3
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|迪文科技论坛 ( 京ICP备05033781号-1 )

GMT+8, 2025-7-2 01:25 , Processed in 0.032227 second(s), 22 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表