The hal namespace includes classes for accessing mcu peripheral hardware and other devices.

All objects in the hal namespace inherit either:

Work objects inherit fs::File and allow access to the hardware using a POSIX style API (open(), close(), read(), write() and ioctl()).

Info objects contain attributes that facilitate configuring and querying hardware.


typedef AdcAttributes AdcAttr

typedef DacAttributes DacAttr

typedef Device Dev

typedef FFifoAttributes FFifoAttr

typedef I2CAttributes I2CAttr

typedef I2SAttributes I2SAttr

typedef PwmAttributes PwmAttr

typedef SAIAttributes SAIAttr

typedef SpiAttributes SpiAttr

typedef StreamFFifoAttributes StreamFFifoAttr

typedef TmrAttributes TmrAttr

typedef UartAttributes UartAttr


Thanks for Coming!

Subscribe to news and updates