Download SUB-20 User Manual

Transcript
41
SUB-20
SUB-20 API
Error Codes
3.7.8
Fast PWM
Fast PWM outputs are available on SPI header pins 4,6,8 (see SPI Header). Outputs are referenced as
FPWM_0, FPWM_1 and FPWM_2. All three outputs share the same PWM generation module in SUB-20 and
have the same PWM frequency but separate duty cycle configuration.
Fast PWM frequency range is 8Mhz .. 0.238Hz. Duty cycle precision is 2..16 bits depending on the PWM
frequency.
Functions
sub_fpwm_config
sub_fpwm_set
© 2013 xdimax.com rev 2.17