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

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 setCapture(int channel, int mode, int edge, word options);
Sets up the channel as an event capture input, with selectable modes and edge settings.
The counter will run from a gated main or prescaled clock signal based on the run cri-
teria of the selected mode, and begin/end events can be set to capture the count at the
time of these events. Optionally, a second channel can be set (which shares the same
RIO channel input block as
getBegin()
Counter()
channel
mode
NOTE: If an end event occurs before the begin event, the count will begin then end
edge
immediately on the begin event, and the end count will be 1. The begin count will be 0
or 1 based on the edge that triggered the event (0 = rising, 1 = falling).
to force a reset of the counter.
and
getEnd()
channel to use for the begin event input for all modes except
CNT_TIL_END
0–11 (pins IN0–IN11)
mode macro for the counter/timer:
BL_CNT_RUN
BL_CNT_BEGIN_END
count until end event detected
BL_CNT_TIL_END
BL_CNT_ON_BEGIN
edge/state macro setting for the begin event for all modes except
BL_CNT_TIL_END
The following two settings are only for the
mode:
BL_EVENT_RISE
BL_EVENT_FALL
BL_EVENT_BOTH
BL_BEGIN_HIGH
BL_BEGIN_LOW
channel
to read the captured count values and use
setCapture
— continuous count mode
, then it specifies the end event input.,
) for two-signal begin/end event detection. Use
, then it specifies the end event:
— count until end event detected
— count while begin signal is active
— begin active while signal is low
— start count on begin event, continue to
— begin event on rising edge
— begin event on falling edge
— begin event on any edge
— begin active while signal is high
BL_CNT_ON_BEGIN
reset-
BL_
55

Related parts for 101-1279