qompwm.h File Reference
QOMPWM TPU functions.
More...
#include <68332/types.h>
#include <68332/tpu.h>
Go to the source code of this file.
Detailed Description
This file contains the global function prototypes and data structures for the Queued Output Module Pulse-Width Modulation (QOMPWM) functionality of the libtpu library.
To use the functions defined in this file, include <68332/qompwm.h> and link libtpu.a.
Function Documentation
|
Outputs a PWM waveform on a TPU channel. The first call to this function initializes the pin for PWM using QOM.
- Parameters:
-
handle | The pointer to a TPUChannel returned from tpu_request_channel(). |
hi_time | The high time of the PWM signal. |
lo_time | The low time of the PWM signal. |
hi_time and lo_time are expressed in units of TCR1 ticks. |
Generated on Wed Sep 6 03:02:22 2006 for MotoRobots by
1.3.6