EasyManuals Logo

Texas Instruments TMS320 User Manual

Texas Instruments TMS320
288 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #254 background imageLoading...
Page #254 background image
Selecting Among Multiple Streams
7-24
Example 7-14. Polling Two Streams
SIO_Handle stream0;
SIO_Handle stream1;
SIO_Handle streamtab[2];
Uns mask;
...
streamtab[0] = stream0;
streamtab[1] = stream1;
while ((mask = SIO_select(streamtab, 2, 0)) == 0) {
`I/O would block, do something else`
}
if (mask & 0x1) {
`service stream0`
}
if (mask & 0x2) {
`service stream1`
}

Table of Contents

Other manuals for Texas Instruments TMS320

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TMS320 and is the answer not in the manual?

Texas Instruments TMS320 Specifications

General IconGeneral
BrandTexas Instruments
ModelTMS320
CategoryComputer Hardware
LanguageEnglish

Related product manuals