RTEMS 6.1-rc2
|
Macros | |
#define | I2S_CHECK_FLAG(__SR__, __FLAG__) |
Check whether the specified SPI flag is set or not. | |
#define | I2S_CHECK_IT_SOURCE(__IER__, __INTERRUPT__) |
Check whether the specified SPI Interrupt is set or not. | |
#define | IS_I2S_MODE(__MODE__) |
Checks if I2S Mode parameter is in allowed range. | |
#define | IS_I2S_MASTER(__MODE__) |
#define | IS_I2S_SLAVE(__MODE__) |
#define | IS_I2S_FULLDUPLEX(__MODE__) |
#define | IS_I2S_STANDARD(__STANDARD__) |
#define | IS_I2S_DATA_FORMAT(__FORMAT__) |
#define | IS_I2S_MCLK_OUTPUT(__OUTPUT__) |
#define | IS_I2S_AUDIO_FREQ(__FREQ__) |
#define | IS_I2S_CPOL(__CPOL__) |
#define | IS_I2S_FIRST_BIT(__BIT__) |
#define | IS_I2S_WS_INVERSION(__WSINV__) |
#define | IS_I2S_DATA_24BIT_ALIGNMENT(__ALIGNMENT__) |
#define | IS_I2S_MASTER_KEEP_IO_STATE(__AFCNTR__) |
#define I2S_CHECK_FLAG | ( | __SR__, | |
__FLAG__ | |||
) |
Check whether the specified SPI flag is set or not.
__SR__ | copy of I2S SR register. |
__FLAG__ | specifies the flag to check. This parameter can be one of the following values:
|
SET | or RESET. |
#define I2S_CHECK_IT_SOURCE | ( | __IER__, | |
__INTERRUPT__ | |||
) |
Check whether the specified SPI Interrupt is set or not.
__IER__ | copy of I2S IER register. |
__INTERRUPT__ | specifies the SPI interrupt source to check. This parameter can be one of the following values:
|
SET | or RESET. |
#define IS_I2S_AUDIO_FREQ | ( | __FREQ__ | ) |
#define IS_I2S_CPOL | ( | __CPOL__ | ) |
#define IS_I2S_DATA_24BIT_ALIGNMENT | ( | __ALIGNMENT__ | ) |
#define IS_I2S_DATA_FORMAT | ( | __FORMAT__ | ) |
#define IS_I2S_FIRST_BIT | ( | __BIT__ | ) |
#define IS_I2S_FULLDUPLEX | ( | __MODE__ | ) |
#define IS_I2S_MASTER | ( | __MODE__ | ) |
#define IS_I2S_MASTER_KEEP_IO_STATE | ( | __AFCNTR__ | ) |
#define IS_I2S_MCLK_OUTPUT | ( | __OUTPUT__ | ) |
#define IS_I2S_MODE | ( | __MODE__ | ) |
Checks if I2S Mode parameter is in allowed range.
__MODE__ | specifies the I2S Mode. This parameter can be a value of I2S Mode |
None |
#define IS_I2S_SLAVE | ( | __MODE__ | ) |
#define IS_I2S_STANDARD | ( | __STANDARD__ | ) |
#define IS_I2S_WS_INVERSION | ( | __WSINV__ | ) |