101-0530 Rabbit Semiconductor, 101-0530 Datasheet - Page 75

no-image

101-0530

Manufacturer Part Number
101-0530
Description
KIT TOOL FOR LP3500 INTL
Manufacturer
Rabbit Semiconductor
Series
RabbitCore 3000r
Type
Single Board Computers (SBC)r
Datasheet

Specifications of 101-0530

Contents
Demo Board, Serial Cable, Software and Documentation
For Use With/related Products
Rabbit 3000-based products, except RCM30/3100, LP3500
Lead Free Status / RoHS Status
Vendor undefined / Vendor undefined
4.4.7 PWM Outputs
The PWM functions in this section can be used to operate the analog outputs on the
LP3500 model.
PARAMETERS
RETURN VALUE
SEE ALSO
PARAMETERS
RETURN VALUE
SEE ALSO
User’s Manual
int pwmOutConfig(unsigned long frequency);
int pwmOut(unsigned int channel, float dutycycle);
Sets the base frequency for the PWM pulses and enables the PWM driver on all four channels. The base
frequency is the frequency without pulse spreading. Pulse spreading (see pwm_set) will increase the
frequency by a factor of 4.
frequency is the frequency (in Hz).
Actual frequency set. This will be the closest possible match to the requested frequency.
Sets a voltage (0 to VDD on an analog output channel according to the percent duty cycle of the 1024-
clock-count cycle.)
channel is the output channel to write to (0–3).
dutycycle is the percent duty (or on) cycle value of the 1024-clock-count cycle (i.e., 0.25).
0 if successful
-1 if an invalid channel number is used
-2 if an invalid duty cycle was requested
pwmOut
pwmOutConfig
69

Related parts for 101-0530