20-151-0178 Rabbit Semiconductor, 20-151-0178 Datasheet - Page 86
![CABLE CONVERTER RS-232 TO USB](/photos/8/97/89711/20-151-0178_sml.jpg)
20-151-0178
Manufacturer Part Number
20-151-0178
Description
CABLE CONVERTER RS-232 TO USB
Manufacturer
Rabbit Semiconductor
Datasheet
1.20-151-0178.pdf
(162 pages)
Specifications of 20-151-0178
Accessory Type
USB to RS232 Adapter
Product
Microcontroller Accessories
For Use With/related Products
Rabbit-based Boards
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
20-151-0178
316-1181
316-1181
- Current page: 86 of 162
- Download datasheet (4Mb)
To use I/O groups, we must first create the groups. The switches[] and leds[] arrays contain point-
ers to each of the Flex_IOPin structures for the switches and the LEDs, respectively. Note that these are
arrays of Flex_IOPin pointers. Also note that each group is terminated by FLEX_GROUP_END; this
macro allows the I/O group API functions to know when they have reached the end of the I/O group.
Note the flexibility that I/O groups allow. To change which inputs you want to use, you can simply change
the members of the switches I/O group. Once this change has been made, it is not necessary to change any
other code in the sample.
We will now skip through the sample to just before the main while() loop.
Remember how we individually initialized each of the LEDs in the previous section? With the “leds” I/O
group, we can initialize the LEDs in a single statement. Both the flexDigOutGroup16() and
flexDigInGroup16() functions expect an array of Flex_IOPin pointers as the first argument. The
second parameter in flexDigOutGroup16() is an unsigned integer. This integer provides the values
that will be output to the pins in the group. The least significant bit in the integer provides the value for the
first output in the group; the next least significant bit provides the value for the second output in the group,
etc:
80
static const Flex_IOPin *leds[] = {
};
// Initialize the output LEDs to turn off
flexDigOutGroup16(leds, 0x0f);
&flex_digout32,
&flex_digout34,
&flex_digout36,
&flex_digout38,
FLEX_GROUP_END
www.rabbit.com
Applications Programming
Related parts for 20-151-0178
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![20-151-0101](/images/no-image3.png)
Part Number:
Description:
Microcontroller Modules & Accessories Assy Download 1.27MM and 2MM Pitch Cbles
Manufacturer:
Rabbit Semiconductor
![3057P-1-203](/photos/16/51/165126/3057_tmb.jpg)
Part Number:
Description:
Trimmer Resistors - Multi Turn 20Kohms 5% 1 1/4 PC Mount
Manufacturer:
Bourns Inc.
Datasheet:
![PCF8576CH/1](/images/manufacturer_photos/0/4/487/nxp_semiconductors_tmb.jpg)
Part Number:
Description:
LCD Drivers 160 SEGMENT LCD SEGMENT DRIVER
Manufacturer:
NXP Semiconductors
![350218-1](/photos/30/72/307284/pr350218-1_l_tmb.jpg)
Part Number:
Description:
20-24 awg TIN PIN REEL M-N-L
Manufacturer:
TE Connectivity
Datasheet:
![PCF2127AT/1,512](/images/manufacturer_photos/0/4/487/nxp_semiconductors_tmb.jpg)
Part Number:
Description:
IC REAL TIME CLK/CALENDAR 20SOIC
Manufacturer:
NXP Semiconductors
Datasheet:
![PCF2129AT/1,512](/images/manufacturer_photos/0/4/487/nxp_semiconductors_tmb.jpg)
Part Number:
Description:
IC REAL TIME CLK/CALENDAR 20SOIC
Manufacturer:
NXP Semiconductors
Datasheet:
![PCF2127AT/1,518](/images/manufacturer_photos/0/4/487/nxp_semiconductors_tmb.jpg)
Part Number:
Description:
IC RTC/CALENDAR TCXO QTZ 20SOIC
Manufacturer:
NXP Semiconductors
Datasheet:
![NTD3055L104-1](/images/manufacturer_photos/0/4/495/on_semiconductor_tmb.jpg)
Part Number:
Description:
Manufacturer:
ON Semiconductor
Datasheet:
![SC3306Q-1](/images/manufacturer_photos/0/0/43/amcc__applied_micro_circuits_corp__tmb.jpg)
Part Number:
Description:
20-OUTPUT LVTTL CLOCK DRIVER
Manufacturer:
AMCC (Applied Micro Circuits Corp)
![SC3308Q-1](/images/manufacturer_photos/0/0/43/amcc__applied_micro_circuits_corp__tmb.jpg)
Part Number:
Description:
20-OUTPUT LVTTL CLOCK DRIVER
Manufacturer:
AMCC (Applied Micro Circuits Corp)
![SC3506Q-1](/images/manufacturer_photos/0/0/43/amcc__applied_micro_circuits_corp__tmb.jpg)
Part Number:
Description:
20-OUTPUT CLOCK DRIVER
Manufacturer:
AMCC (Applied Micro Circuits Corp)