To Implement Pwm Operation - Maple Systems HMC7000 Series Manual

Table of Contents

Advertisement

HMC7000 Series I/O Module Guide
Total Pulses Reached

To implement PWM Operation:

1. Configure the PWM output using the configuration register for that channel and mode.
2. Set the parameters values for the selected mode. Monitor the error flags for the parameters.
3. Enable the output by setting the Enable Output that channel.
4. HSC increments the current value register for that channel until the preset value is reached.
5. Enable the HSC Reset Bit by setting for that channel. This will cause the HSC current value to reset back
to 0.
6. 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.
HMC7000 Series I/O Module Guide
MWnn49_0
ON when Total Pulses have been
sent
43
43

Advertisement

Table of Contents
loading

Table of Contents