Chapter 28. devices, Devices – Comtrol eCos User Manual

Page 433

Advertising
background image

Chapter 28. Devices

Devices are accessed by means of a pseudo-filesystem, "devfs", that is mounted on "/dev". Open operations are
translated into calls to

cyg_io_lookup()

and if successful result in a file object whose

f_ops

functions translate

filesystem API functions into calls into the device API.

329

Advertising