Line | |
---|
1 | #include "syslib.h"
|
---|
2 |
|
---|
3 |
|
---|
4 | /*===========================================================================*
|
---|
5 | * sys_vinw *
|
---|
6 | *===========================================================================*/
|
---|
7 | PUBLIC int sys_vinw(pvw_pairs, nr_ports)
|
---|
8 | pvw_pair_t *pvw_pairs; /* (port,word-value)-pairs */
|
---|
9 | int nr_ports; /* nr of pairs to be processed */
|
---|
10 | {
|
---|
11 | message m_io;
|
---|
12 |
|
---|
13 | m_io.DIO_TYPE = DIO_WORD;
|
---|
14 | m_io.DIO_REQUEST = DIO_INPUT;
|
---|
15 | m_io.DIO_VEC_ADDR = (char *) pvw_pairs;
|
---|
16 | m_io.DIO_VEC_SIZE = nr_ports;
|
---|
17 | return _taskcall(SYSTASK, SYS_VDEVIO, &m_io);
|
---|
18 | }
|
---|
19 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.