20-101-1255 Rabbit Semiconductor, 20-101-1255 Datasheet - Page 55

COMPUTER SINGLE-BOARD BL4S100

20-101-1255

Manufacturer Part Number
20-101-1255
Description
COMPUTER SINGLE-BOARD BL4S100
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-101-1255

Module/board Type
Single Board Computer Module
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
Lead free / RoHS Compliant
Other names
316-1168
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 20-101-1255