06.08.2013 Views

pSOSystem System Calls - Read

pSOSystem System Calls - Read

pSOSystem System Calls - Read

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

de_read pSOS+ <strong>System</strong> <strong>Calls</strong><br />

Error Codes<br />

Notes<br />

See Also<br />

Hex Mnemonic Description<br />

0x101 ERR_IODN Illegal device (major) number.<br />

0x102 ERR_NODR No driver provided.<br />

0x103 ERR_IOOP Illegal I/O function number.<br />

For many interrupt-driven devices, de_read() starts an I/O transaction and<br />

blocks the calling task. Most of the I/O transaction can actually be performed in the<br />

device's ISR. Upon completion of the transaction, the ISR unblocks the blocked<br />

task.<br />

Callable From<br />

■ Task<br />

de_write<br />

1-20 <strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!