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

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 setCounter(int channel, int mode, int edge, word options);
Sets up the channel as a counter input, with selectable modes and edge settings. The
counter will increment or decrement on each selected edge event. Use
to read the current count and use
channel
mode
edge
options
channel to use for the up count input, 0–11 (pins IN0–IN11)
macro to set the mode of the counter:
BL_UP_COUNT
BL_DOWN_COUNT
BL_MATCH_ENABLE
stopping on any match event
edge setting macro for the up count event:
BL_EDGE_RISE
BL_EDGE_FALL
BL_EDGE_BOTH
options based on mode (N/A if the continuous up mode is selected):
BL_EDGE_RISE
BL_EDGE_FALL
BL_EDGE_BOTH
If the up/down mode is selected,
and event edge settings (these settings cannot be on the same pin
as the up count) ORed together. The low 4 bits are the channel num-
ber for the down count input
If the
match count to stop at (other match registers on the block are set
to max.).
BL_MATCH_ENABLE
setCounter
resetCounter()
— continuous up count mode
— up count on rising edge
— up count on falling edge
— up count on either edge
— down count on rising edge
— down count on falling edge
— down count on either edge
— up/down count mode (uses 2 pins)
— continuous up count mode with count
mode is selected,
options
to force a reset of the counter.
has down count channel
options
getCounter()
has the
53

Related parts for 101-1279