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

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 setPPM(int channel, float frequency, float offset,
float duty, char invert, int bind_offset, int bind_duty);
Sets up a PPM output on the selected digital output channel with the specified
frequency and duty cycle. The PPM output of the PPM can be inverted. The offset and
duty of the PPM can be bound to a PWM/PPM on another channel on the same RIO
block so that they share an edge.
channel
frequency
offset
NOTE: A zero offset will produce the smallest offset possible, which is one count. If you
duty
NOTE: PPM will not wrap around the PPM period. If
invert
bind_offset
bind_duty
must have a zero offset, use
100% duty cycle will have the same effect as
waveform as a wrapped PPM can be created using an inverted PPM
digital output channel being set up for PWM, 0–7 (OUT0–OUT7)
PPM frequency in Hz (should be from 2 Hz to 50 kHz); use -1 to
preserve the existing frequency on the RIO block
PPM offset (should be from 0 to 100%); use -1 and
parameter to use bound edge to set the offset
PPM duty cycle (should be from 0 to 100%); use -1 and
duty
whether the PPM output is inverted; the PPM output normally
starts with the output low, goes high at the offset, and stays high
for the remainder of the duty cycle; inverted will start with the out-
put high, goes low at the offset, and stays low for the duration of
the duty cycle.
use
digital output channel hosted by the same block to enable binding
for the leading edge of the PPM output on this channel. Bindings al-
low PWM and PPM outputs to align their leading and trailing edges.
use
digital output channel hosted by the same block to enable binding
for the trailing edge of the PPM output on this channel. Bindings
allow PWM and PPM outputs to align their leading and trailing
edges
BL_BIND_LEAD
BL_BIND_LEAD
0 — noninverted
1 — inverted
parameter to use bound edge to set the duty cycle
setPWM()
setPPM
or
or
instead of
BL_BIND_TRAIL
BL_BIND_TRAIL
offset
setPPM()
offset
= 25%,
ORed with another
ORed with another
.
is set to 25%, the 75 to
duty
bind_offset
= 75%. The same
bind_
67

Related parts for 101-1279