Maple Systems HMC7000 Series User Manual
Page 46
![background image](/manuals/358872/46/background.png)
HMC7000 Series I/O Module Guide
Phone: 425/745-3229 • Fax: 425/745-3429 • Email: [email protected] • www.maplesystems.com
.
1010-1043
Page 45 of 85
Rev. 02, 11/08/2013
To implement PWM Operation:
7. Configure the PWM output using the configuration register for that channel and mode.
8. Set the parameters values for the selected mode. Monitor the error flags for the parameters.
9. Enable the output by setting the Enable Output that channel.
10. HSC increments the current value register for that channel until the preset value is reached.
11. Enable the HSC Reset Bit by setting for that channel. This will cause the HSC current value to
reset back to 0.
12. To start the process again, simply reset (clear) the HSC Reset Bit and set the HSC Enable Bit.
Note: if the HSC Enable Bit is still ON, you must reset (clear) this bit, and then set it again.