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