class::hal::FFifoAttributes

class hal::FFifoAttributes
  : public api::InfoObject

Summary

[FFifoAttributes](#classhal_1_1_f_fifo_attributes_1a2c6491b096023eee506b2b70369f8047)()

[FFifoAttributes](#classhal_1_1_f_fifo_attributes_1a827b955eccc6c38aa03cbbf1b2d5feda)(  

const ffifo_attr_t & attr
)

void set_overflow()

void set_write_block()

Members

FFifoAttributes()

Constructs an object set to all zeros.


FFifoAttributes(

const ffifo_attr_t & attr
)

Constructs an object from a ffifo_attr_t data structure.


void set_overflow()

Sets the overflow flag.

This will cause the device to overwrite old data rather than block when the device is full.


void set_write_block()

Sets the write block flag.

This will cause the device to block or return errno EAGAIN if a write is attempted while the FIFO is full.


X

Thanks for Coming!

Subscribe to news and updates