20-101-1258 Rabbit Semiconductor, 20-101-1258 Datasheet - Page 69

COMPUTER SINGLE-BOARD BL4S160

20-101-1258

Manufacturer Part Number
20-101-1258
Description
COMPUTER SINGLE-BOARD BL4S160
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-101-1258

Module/board Type
Single Board Computer Module
Product
Modules
Processor Type
Rabbit 4000
Sram
1 MB
Flash
2 MB
Timers
8 bit, 10 bit
Number Of I/os
20
Backup Battery
3 V Lithium Coin Type
Operating Voltage
9 V to 36 V
Board Size
96 mm x 146 mm x 16 mm
Description/function
Computer Module
For Use With/related Products
BL4S160
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
316-1171
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 20-101-1258