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

KIT FOR BL4S100 STARTER PACKAGE

101-1268

Manufacturer Part Number
101-1268
Description
KIT FOR BL4S100 STARTER PACKAGE
Manufacturer
Rabbit Semiconductor
Type
Single Board Computers (SBC)r
Datasheet

Specifications of 101-1268

Product
Modules
Processor Type
BL4S100
Sram
512 KB
Timers
8 bit, 10 bit
Number Of I/os
20
Backup Battery
3 V Lithium Coin Type
Operating Voltage
9 V to 36 V
Power Consumption
2 W
Board Size
96 mm x 146 mm x 16 mm
Description/function
Computer Module
For Use With/related Products
BL4S100
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
316-1157
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-1268