class::hal::I2S

class hal::I2S
  : public hal::Periph< i2s_info_t, i2s_attr_t, I2SAttributes, 'I'>

Summary

I2S(

port_t port
)

enum i2s_flags

Members

I2S(

port_t port
)


enum i2s_flags
  • IS_WIDTH_8 I2S Word Width 8 bits
  • IS_WIDTH_16 I2S Word Width 16 bits
  • IS_WIDTH_24 I2S Word Width 24 bits
  • IS_WIDTH_32 I2S Word Width 32 bits
  • IS_MONO I2S Mono mode
  • IS_STEREO I2S Stereo mode (default behavoir)
  • SET_MASTER Set the I2S as a master
  • SET_SLAVE Set the I2S as a slave
  • IS_TRANSMITTER Set the I2S transmitter (master or slave)
  • IS_RECEIVER Set the I2S receiver (master or slave)
  • IS_FORMAT_MSB Set this bit for MSB format
  • IS_FORMAT_LSB Set this bit for LSB format
  • IS_MCK_ENABLED Set this bit to enable the mclk output
  • IS_FORMAT_PCM_SHORT Set this bit for PCM Short format
  • IS_FORMAT_PCM_LONG Set this bit for PCM Long format
  • IS_WIDTH_16_EXTENDED I2S has 16-bits of data in 32-bit blocks

X

Thanks for Coming!

Subscribe to news and updates