Specification Sheet

Table Of Contents
WT901 | Datasheet v20-0702 | http://wiki.wit-motion.com/english
- 30 -
5.2.27 Set the PWM width of Port D3
0xFF
0xAA
0x15
D3PWMHL
D3PWMHH
D3PWMHLthe PWM width of Port D3 low byte
D3PWMHHthe PWM width of Port D3 low byte
D3PWMH = (D3PWMHH<<8) | D3PWMHL
Note: The unit of PWM high-level width and period is us, such as high-level
width is 1500us, just set D0PWMH 1500.
5.2.28 Set period of Port D0
0xFF
0xAA
0x16
D0PWMTL
D0PWMTH
D0PWMTLPWM period of Port D0 low byte
D0PWMTHPWM period of Port D0 high byte
D0PWMT = (D0PWMTH<<8) | D0PWMTL
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.
E-mail:wit@wit-motion.com