101-1279 Rabbit Semiconductor, 101-1279 Datasheet - Page 67

PLASTIC ENCLOSURE FOR BL4S100

101-1279

Manufacturer Part Number
101-1279
Description
PLASTIC ENCLOSURE FOR BL4S100
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-1279

Accessory Type
Enclosure
Product
Prototyping Accessories
Processor Type
BL4S100
Board Size
146 mm x 96 mm x 16 mm
Interface Type
Ethernet
For Use With/related Products
BL4S100
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
316-1159
FUNCTION DESCRIPTION
PARAMETERS
BL4S100 User’s Manual
int setPWM(int channel, float frequency, float duty, int invert,
int bind);
Sets up a PWM output on the selected digital output channel with the specified frequency
and duty cycle. The PWM output can be inverted. The PWM channel duty cycle can be
bound to a PWM/PPM on another channel on the same RIO block so that they share an
edge.
channel
frequency
duty
invert
bind
digital output channel being set up for PWM, 0–7 (OUT0–OUT7)
PWM frequency in Hz (should be from 2 Hz to 50 kHz); use -1 to
preserve the existing frequency on the RIO block
PWM duty cycle (should be from 0 to 100%); use -1 and
parameter to use bound edge to set the duty cycle
whether the PWM output is inverted; the PWM output normally
starts with the output high and inverted starts with the output low.
use
digital output channel hosted by the same block to enable binding
for the leading of the PWM output on this channel. Bindings allow
PWM and PPM outputs to align their leading and trailing edges.
BL_BIND_LEAD
1 — inverted
0 — noninverted
setPWM
or
BL_BIND_TRAIL
ORed with another
bind
65

Related parts for 101-1279