void
HWPWM
(int
cycletime,int itemCnt, int
*hightimeList );
The ARMmite supports up to 8 channels of hardware driven PWM. The IO direction of the pin will be set to output. Once programmed these will continue to generate the specified PWM until re-programmed or reset.
Cycletime is in microseconds, is the time for a single PWM cycle. Hightimes are also in microseconds and represent the amount of time during the cycle that the corresponding outputs are high. It is assumed, but not enforced that cycletimes for all channels will be the same.
| channel1 | IO(0) |
| channel2 | IO(1) |
| channel3 | IO(2) |
| channel4 | IO(3) |
| channel5 | IO(4) |
| channel6 | IO(9) |
| channel7 | IO(10) |
| channel8 |
IO(11) |
The ARMmite PRO also supports up to 8 channels of hardware driven PWM. The IO direction of the pin will be set to output. Once programmed these will continue to generate the specified PWM until re-programmed or reset.
Cycletime is in microseconds, is the time for a single PWM cycle. Hightimes are also in microseconds and represent the amount of time during the cycle that the corresponding outputs are high. It is assumed, but not enforced that cycletimes for all channels will be the same.
| channel1 | IO(0) |
| channel2 | IO(1) |
| channel3 | IO(8) |
| channel4 | IO(5) |
| channel5 | IO(14) |
| channel6 | IO(10) |
| channel7 | IO(11) |
| channel8 |
IO(3) |
The ARMexpress LITE supports up to 6 channels of hardware driven PWM. The IO direction of the pin will be set to output. Once programmed these will continue to generate the specified PWM until re-programmed or reset. 2 of the channels are not available on the pins.
Cycletime is in microseconds, is the time for a single PWM cycle. Hightimes are also in microseconds and represent the amount of time during the cycle that the corresponding outputs are high. It is assumed, but not enforced that cycletimes for all channels will be the same.
| channel1 | IO( 5 ) |
| channel2 | IO( 6 ) |
| channel3 | IO( 3 ) |
| channel4 | not available |
| channel5 | IO( 14 ) |
| channel6 | not available |
| channel7 | IO( 13 ) |
| channel8 |
IO( 15 ) |