Specification Sheet

Table Of Contents
WT901 | Datasheet v20-0702 | http://wiki.wit-motion.com/english
- 31 -
5.2.29 Set period of Port D1
0xFF
0xAA
0x17
D1PWMTL
D1PWMTH
D1PWMTLPWM period of Port D1 low byte
D1PWMTHPWM period of Port D1 high byte
D1PWMT = (D1PWMTH<<8) | D1PWMTL
Note: The unit of PWM high-level width and period is us, such as high-level
width is 1500us, just set D0PWMH 1500.Period is 20000us, just set D0PWMT
20000.
5.2.30 Set period of Port D2
0xFF
0xAA
0x18
D2PWMTL
D2PWMTH
D2PWMTLPWM period of Port D2 low byte
D2PWMTHPWM period of Port D2 high byte
D2PWMT = (D2PWMTH<<8) | D2PWMTL
Note: The unit of PWM high-level width and period is us, such as high-level
width is 1500us, just set D0PWMH 1500.Period is 20000us, just set D0PWMT
20000.