Macros
Collaboration diagram for I2S Private Macros:

Macros

#define I2S_CHECK_FLAG(__SR__, __FLAG__)   ((((__SR__) & ((__FLAG__) & I2S_FLAG_MASK)) == ((__FLAG__) & I2S_FLAG_MASK)) ? SET : RESET)
 Check whether the specified SPI flag is set or not. More...
 
#define I2S_CHECK_FLAG(__SR__, __FLAG__)
 Check whether the specified SPI flag is set or not. More...
 
#define I2S_CHECK_FLAG(__SR__, __FLAG__)
 Check whether the specified SPI flag is set or not. More...
 
#define I2S_CHECK_FLAG(__SR__, __FLAG__)
 Check whether the specified SPI flag is set or not. More...
 
#define I2S_CHECK_FLAG(__SR__, __FLAG__)   ((((__SR__) & ((__FLAG__) & I2S_FLAG_MASK)) == ((__FLAG__) & I2S_FLAG_MASK)) ? SET : RESET)
 Check whether the specified SPI flag is set or not. More...
 
#define I2S_CHECK_IT_SOURCE(__CR2__, __INTERRUPT__)   ((((__CR2__) & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET)
 Check whether the specified SPI Interrupt is set or not. More...
 
#define I2S_CHECK_IT_SOURCE(__CR2__, __INTERRUPT__)
 Check whether the specified SPI Interrupt is set or not. More...
 
#define I2S_CHECK_IT_SOURCE(__CR2__, __INTERRUPT__)
 Check whether the specified SPI Interrupt is set or not. More...
 
#define I2S_CHECK_IT_SOURCE(__CR2__, __INTERRUPT__)
 Check whether the specified SPI Interrupt is set or not. More...
 
#define I2S_CHECK_IT_SOURCE(__IER__, __INTERRUPT__)   ((((__IER__) & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET)
 Check whether the specified SPI Interrupt is set or not. More...
 
#define IS_I2S_AUDIO_FREQ(__FREQ__)
 
#define IS_I2S_AUDIO_FREQ(__FREQ__)
 
#define IS_I2S_AUDIO_FREQ(__FREQ__)
 
#define IS_I2S_AUDIO_FREQ(__FREQ__)
 
#define IS_I2S_AUDIO_FREQ(__FREQ__)
 
#define IS_I2S_CLOCKSOURCE(CLOCK)
 
#define IS_I2S_CPOL(__CPOL__)
 Checks if I2S Serial clock steady state parameter is in allowed range. More...
 
#define IS_I2S_CPOL(__CPOL__)
 Checks if I2S Serial clock steady state parameter is in allowed range. More...
 
#define IS_I2S_CPOL(__CPOL__)
 Checks if I2S Serial clock steady state parameter is in allowed range. More...
 
#define IS_I2S_CPOL(__CPOL__)
 Checks if I2S Serial clock steady state parameter is in allowed range. More...
 
#define IS_I2S_CPOL(__CPOL__)
 
#define IS_I2S_DATA_24BIT_ALIGNMENT(__ALIGNMENT__)
 
#define IS_I2S_DATA_FORMAT(__FORMAT__)
 
#define IS_I2S_DATA_FORMAT(__FORMAT__)
 
#define IS_I2S_DATA_FORMAT(__FORMAT__)
 
#define IS_I2S_DATA_FORMAT(__FORMAT__)
 
#define IS_I2S_DATA_FORMAT(__FORMAT__)
 
#define IS_I2S_FIRST_BIT(__BIT__)
 
#define IS_I2S_FULLDUPLEX(__MODE__)
 
#define IS_I2S_FULLDUPLEX_MODE(MODE)
 
#define IS_I2S_FULLDUPLEX_MODE(MODE)
 
#define IS_I2S_FULLDUPLEX_MODE(MODE)
 
#define IS_I2S_MASTER(__MODE__)
 
#define IS_I2S_MASTER_KEEP_IO_STATE(__AFCNTR__)
 
#define IS_I2S_MCLK_OUTPUT(__OUTPUT__)
 
#define IS_I2S_MCLK_OUTPUT(__OUTPUT__)
 
#define IS_I2S_MCLK_OUTPUT(__OUTPUT__)
 
#define IS_I2S_MCLK_OUTPUT(__OUTPUT__)
 
#define IS_I2S_MCLK_OUTPUT(__OUTPUT__)
 
#define IS_I2S_MODE(__MODE__)
 Checks if I2S Mode parameter is in allowed range. More...
 
#define IS_I2S_MODE(__MODE__)
 Checks if I2S Mode parameter is in allowed range. More...
 
#define IS_I2S_MODE(__MODE__)
 Checks if I2S Mode parameter is in allowed range. More...
 
#define IS_I2S_MODE(__MODE__)
 Checks if I2S Mode parameter is in allowed range. More...
 
#define IS_I2S_MODE(__MODE__)
 Checks if I2S Mode parameter is in allowed range. More...
 
#define IS_I2S_SLAVE(__MODE__)
 
#define IS_I2S_STANDARD(__STANDARD__)
 
#define IS_I2S_STANDARD(__STANDARD__)
 
#define IS_I2S_STANDARD(__STANDARD__)
 
#define IS_I2S_STANDARD(__STANDARD__)
 
#define IS_I2S_STANDARD(__STANDARD__)
 
#define IS_I2S_WS_INVERSION(__WSINV__)
 

Detailed Description

Macro Definition Documentation

◆ I2S_CHECK_FLAG [1/5]

#define I2S_CHECK_FLAG (   __SR__,
  __FLAG__ 
)    ((((__SR__) & ((__FLAG__) & I2S_FLAG_MASK)) == ((__FLAG__) & I2S_FLAG_MASK)) ? SET : RESET)

Check whether the specified SPI flag is set or not.

Parameters
<strong>SR</strong>copy of I2S SR regsiter.
<strong>FLAG</strong>specifies the flag to check. This parameter can be one of the following values:
  • I2S_FLAG_RXNE: Receive buffer not empty flag
  • I2S_FLAG_TXE: Transmit buffer empty flag
  • I2S_FLAG_UDR: Underrun error flag
  • I2S_FLAG_OVR: Overrun flag
  • I2S_FLAG_CHSIDE: Channel side flag
  • I2S_FLAG_BSY: Busy flag
Return values
SETor RESET.

Definition at line 491 of file stm32f7xx_hal_i2s.h.

◆ I2S_CHECK_FLAG [2/5]

#define I2S_CHECK_FLAG (   __SR__,
  __FLAG__ 
)
Value:
((((__SR__)\
& ((__FLAG__) & I2S_FLAG_MASK)) == ((__FLAG__) & I2S_FLAG_MASK)) ? SET : RESET)

Check whether the specified SPI flag is set or not.

Parameters
<strong>SR</strong>copy of I2S SR regsiter.
<strong>FLAG</strong>specifies the flag to check. This parameter can be one of the following values:
  • I2S_FLAG_RXNE: Receive buffer not empty flag
  • I2S_FLAG_TXE: Transmit buffer empty flag
  • I2S_FLAG_UDR: Underrun error flag
  • I2S_FLAG_OVR: Overrun flag
  • I2S_FLAG_CHSIDE: Channel side flag
  • I2S_FLAG_BSY: Busy flag
Return values
SETor RESET.

Definition at line 530 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2s.h.

◆ I2S_CHECK_FLAG [3/5]

#define I2S_CHECK_FLAG (   __SR__,
  __FLAG__ 
)
Value:
((((__SR__)\
& ((__FLAG__) & I2S_FLAG_MASK)) == ((__FLAG__) & I2S_FLAG_MASK)) ? SET : RESET)

Check whether the specified SPI flag is set or not.

Parameters
<strong>SR</strong>copy of I2S SR regsiter.
<strong>FLAG</strong>specifies the flag to check. This parameter can be one of the following values:
  • I2S_FLAG_RXNE: Receive buffer not empty flag
  • I2S_FLAG_TXE: Transmit buffer empty flag
  • I2S_FLAG_UDR: Underrun error flag
  • I2S_FLAG_OVR: Overrun flag
  • I2S_FLAG_CHSIDE: Channel side flag
  • I2S_FLAG_BSY: Busy flag
Return values
SETor RESET.

Definition at line 530 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2s.h.

◆ I2S_CHECK_FLAG [4/5]

#define I2S_CHECK_FLAG (   __SR__,
  __FLAG__ 
)
Value:
((((__SR__)\
& ((__FLAG__) & I2S_FLAG_MASK)) == ((__FLAG__) & I2S_FLAG_MASK)) ? SET : RESET)

Check whether the specified SPI flag is set or not.

Parameters
<strong>SR</strong>copy of I2S SR regsiter.
<strong>FLAG</strong>specifies the flag to check. This parameter can be one of the following values:
  • I2S_FLAG_RXNE: Receive buffer not empty flag
  • I2S_FLAG_TXE: Transmit buffer empty flag
  • I2S_FLAG_UDR: Underrun error flag
  • I2S_FLAG_OVR: Overrun flag
  • I2S_FLAG_CHSIDE: Channel side flag
  • I2S_FLAG_BSY: Busy flag
Return values
SETor RESET.

Definition at line 530 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2s.h.

◆ I2S_CHECK_FLAG [5/5]

#define I2S_CHECK_FLAG (   __SR__,
  __FLAG__ 
)    ((((__SR__) & ((__FLAG__) & I2S_FLAG_MASK)) == ((__FLAG__) & I2S_FLAG_MASK)) ? SET : RESET)

Check whether the specified SPI flag is set or not.

Parameters
<strong>SR</strong>copy of I2S SR register.
<strong>FLAG</strong>specifies the flag to check. This parameter can be one of the following values:
  • I2S_FLAG_RXP : Rx-Packet available flag
  • I2S_FLAG_TXP : Tx-Packet space available flag
  • I2S_FLAG_UDR : Underrun flag
  • I2S_FLAG_OVR : Overrun flag
  • I2S_FLAG_FRE : TI mode frame format error flag
Return values
SETor RESET.

Definition at line 560 of file stm32h7xx_hal_i2s.h.

◆ I2S_CHECK_IT_SOURCE [1/5]

#define I2S_CHECK_IT_SOURCE (   __CR2__,
  __INTERRUPT__ 
)    ((((__CR2__) & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET)

Check whether the specified SPI Interrupt is set or not.

Parameters
<strong>CR2</strong>copy of I2S CR2 regsiter.
<strong>INTERRUPT</strong>specifies the SPI interrupt source to check. This parameter can be one of the following values:
  • I2S_IT_TXE: Tx buffer empty interrupt enable
  • I2S_IT_RXNE: RX buffer not empty interrupt enable
  • I2S_IT_ERR: Error interrupt enable
Return values
SETor RESET.

Definition at line 502 of file stm32f7xx_hal_i2s.h.

◆ I2S_CHECK_IT_SOURCE [2/5]

#define I2S_CHECK_IT_SOURCE (   __CR2__,
  __INTERRUPT__ 
)
Value:
((((__CR2__)\
& (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET)

Check whether the specified SPI Interrupt is set or not.

Parameters
<strong>CR2</strong>copy of I2S CR2 regsiter.
<strong>INTERRUPT</strong>specifies the SPI interrupt source to check. This parameter can be one of the following values:
  • I2S_IT_TXE: Tx buffer empty interrupt enable
  • I2S_IT_RXNE: RX buffer not empty interrupt enable
  • I2S_IT_ERR: Error interrupt enable
Return values
SETor RESET.

Definition at line 542 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2s.h.

◆ I2S_CHECK_IT_SOURCE [3/5]

#define I2S_CHECK_IT_SOURCE (   __CR2__,
  __INTERRUPT__ 
)
Value:
((((__CR2__)\
& (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET)

Check whether the specified SPI Interrupt is set or not.

Parameters
<strong>CR2</strong>copy of I2S CR2 regsiter.
<strong>INTERRUPT</strong>specifies the SPI interrupt source to check. This parameter can be one of the following values:
  • I2S_IT_TXE: Tx buffer empty interrupt enable
  • I2S_IT_RXNE: RX buffer not empty interrupt enable
  • I2S_IT_ERR: Error interrupt enable
Return values
SETor RESET.

Definition at line 542 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2s.h.

◆ I2S_CHECK_IT_SOURCE [4/5]

#define I2S_CHECK_IT_SOURCE (   __CR2__,
  __INTERRUPT__ 
)
Value:
((((__CR2__)\
& (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET)

Check whether the specified SPI Interrupt is set or not.

Parameters
<strong>CR2</strong>copy of I2S CR2 regsiter.
<strong>INTERRUPT</strong>specifies the SPI interrupt source to check. This parameter can be one of the following values:
  • I2S_IT_TXE: Tx buffer empty interrupt enable
  • I2S_IT_RXNE: RX buffer not empty interrupt enable
  • I2S_IT_ERR: Error interrupt enable
Return values
SETor RESET.

Definition at line 542 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2s.h.

◆ I2S_CHECK_IT_SOURCE [5/5]

#define I2S_CHECK_IT_SOURCE (   __IER__,
  __INTERRUPT__ 
)    ((((__IER__) & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET)

Check whether the specified SPI Interrupt is set or not.

Parameters
<strong>IER</strong>copy of I2S IER register.
<strong>INTERRUPT</strong>specifies the SPI interrupt source to check. This parameter can be one of the following values:
  • I2S_IT_RXP : Rx-Packet available interrupt
  • I2S_IT_TXP : Tx-Packet space available interrupt
  • I2S_IT_UDR : Underrun interrupt
  • I2S_IT_OVR : Overrun interrupt
  • I2S_IT_FRE : TI mode frame format error interrupt
  • I2S_IT_ERR : Error interrupt enable
Return values
SETor RESET.

Definition at line 574 of file stm32h7xx_hal_i2s.h.

◆ IS_I2S_AUDIO_FREQ [1/5]

#define IS_I2S_AUDIO_FREQ (   __FREQ__)
Value:
((((__FREQ__) >= I2S_AUDIOFREQ_8K) && \
((__FREQ__) <= I2S_AUDIOFREQ_192K)) || \
((__FREQ__) == I2S_AUDIOFREQ_DEFAULT))

Definition at line 528 of file stm32f7xx_hal_i2s.h.

◆ IS_I2S_AUDIO_FREQ [2/5]

#define IS_I2S_AUDIO_FREQ (   __FREQ__)
Value:
((((__FREQ__) >= I2S_AUDIOFREQ_8K) && \
((__FREQ__) <= I2S_AUDIOFREQ_192K)) || \
((__FREQ__) == I2S_AUDIOFREQ_DEFAULT))

Definition at line 569 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2s.h.

◆ IS_I2S_AUDIO_FREQ [3/5]

#define IS_I2S_AUDIO_FREQ (   __FREQ__)
Value:
((((__FREQ__) >= I2S_AUDIOFREQ_8K) && \
((__FREQ__) <= I2S_AUDIOFREQ_192K)) || \
((__FREQ__) == I2S_AUDIOFREQ_DEFAULT))

Definition at line 569 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2s.h.

◆ IS_I2S_AUDIO_FREQ [4/5]

#define IS_I2S_AUDIO_FREQ (   __FREQ__)
Value:
((((__FREQ__) >= I2S_AUDIOFREQ_8K) && \
((__FREQ__) <= I2S_AUDIOFREQ_192K)) || \
((__FREQ__) == I2S_AUDIOFREQ_DEFAULT))

Definition at line 569 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2s.h.

◆ IS_I2S_AUDIO_FREQ [5/5]

#define IS_I2S_AUDIO_FREQ (   __FREQ__)
Value:
((((__FREQ__) >= I2S_AUDIOFREQ_8K) && \
((__FREQ__) <= I2S_AUDIOFREQ_192K)) || \
((__FREQ__) == I2S_AUDIOFREQ_DEFAULT))

Definition at line 613 of file stm32h7xx_hal_i2s.h.

◆ IS_I2S_CLOCKSOURCE

#define IS_I2S_CLOCKSOURCE (   CLOCK)
Value:
(((CLOCK) == I2S_CLOCK_EXTERNAL) || \
((CLOCK) == I2S_CLOCK_PLL))

Definition at line 540 of file stm32f7xx_hal_i2s.h.

◆ IS_I2S_CPOL [1/5]

#define IS_I2S_CPOL (   __CPOL__)
Value:
(((__CPOL__) == I2S_CPOL_LOW) || \
((__CPOL__) == I2S_CPOL_HIGH))

Checks if I2S Serial clock steady state parameter is in allowed range.

Parameters
<strong>CPOL</strong>specifies the I2S serial clock steady state. This parameter can be a value of I2S Clock Polarity
Return values
None

Definition at line 537 of file stm32f7xx_hal_i2s.h.

◆ IS_I2S_CPOL [2/5]

#define IS_I2S_CPOL (   __CPOL__)
Value:
(((__CPOL__) == I2S_CPOL_LOW) || \
((__CPOL__) == I2S_CPOL_HIGH))

Checks if I2S Serial clock steady state parameter is in allowed range.

Parameters
<strong>CPOL</strong>specifies the I2S serial clock steady state. This parameter can be a value of I2S Clock Polarity
Return values
None

Definition at line 581 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2s.h.

◆ IS_I2S_CPOL [3/5]

#define IS_I2S_CPOL (   __CPOL__)
Value:
(((__CPOL__) == I2S_CPOL_LOW) || \
((__CPOL__) == I2S_CPOL_HIGH))

Checks if I2S Serial clock steady state parameter is in allowed range.

Parameters
<strong>CPOL</strong>specifies the I2S serial clock steady state. This parameter can be a value of I2S Clock Polarity
Return values
None

Definition at line 581 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2s.h.

◆ IS_I2S_CPOL [4/5]

#define IS_I2S_CPOL (   __CPOL__)
Value:
(((__CPOL__) == I2S_CPOL_LOW) || \
((__CPOL__) == I2S_CPOL_HIGH))

Checks if I2S Serial clock steady state parameter is in allowed range.

Parameters
<strong>CPOL</strong>specifies the I2S serial clock steady state. This parameter can be a value of I2S Clock Polarity
Return values
None

Definition at line 581 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2s.h.

◆ IS_I2S_CPOL [5/5]

#define IS_I2S_CPOL (   __CPOL__)
Value:
(((__CPOL__) == I2S_CPOL_LOW) || \
((__CPOL__) == I2S_CPOL_HIGH))

Definition at line 617 of file stm32h7xx_hal_i2s.h.

◆ IS_I2S_DATA_24BIT_ALIGNMENT

#define IS_I2S_DATA_24BIT_ALIGNMENT (   __ALIGNMENT__)
Value:
(((__ALIGNMENT__) == I2S_DATA_24BIT_ALIGNMENT_RIGHT) || \
((__ALIGNMENT__) == I2S_DATA_24BIT_ALIGNMENT_LEFT))

Definition at line 626 of file stm32h7xx_hal_i2s.h.

◆ IS_I2S_DATA_FORMAT [1/5]

#define IS_I2S_DATA_FORMAT (   __FORMAT__)
Value:
(((__FORMAT__) == I2S_DATAFORMAT_16B) || \
((__FORMAT__) == I2S_DATAFORMAT_16B_EXTENDED) || \
((__FORMAT__) == I2S_DATAFORMAT_24B) || \
((__FORMAT__) == I2S_DATAFORMAT_32B))

Definition at line 520 of file stm32f7xx_hal_i2s.h.

◆ IS_I2S_DATA_FORMAT [2/5]

#define IS_I2S_DATA_FORMAT (   __FORMAT__)
Value:
(((__FORMAT__) == I2S_DATAFORMAT_16B) || \
((__FORMAT__) == I2S_DATAFORMAT_16B_EXTENDED) || \
((__FORMAT__) == I2S_DATAFORMAT_24B) || \
((__FORMAT__) == I2S_DATAFORMAT_32B))

Definition at line 561 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2s.h.

◆ IS_I2S_DATA_FORMAT [3/5]

#define IS_I2S_DATA_FORMAT (   __FORMAT__)
Value:
(((__FORMAT__) == I2S_DATAFORMAT_16B) || \
((__FORMAT__) == I2S_DATAFORMAT_16B_EXTENDED) || \
((__FORMAT__) == I2S_DATAFORMAT_24B) || \
((__FORMAT__) == I2S_DATAFORMAT_32B))

Definition at line 561 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2s.h.

◆ IS_I2S_DATA_FORMAT [4/5]

#define IS_I2S_DATA_FORMAT (   __FORMAT__)
Value:
(((__FORMAT__) == I2S_DATAFORMAT_16B) || \
((__FORMAT__) == I2S_DATAFORMAT_16B_EXTENDED) || \
((__FORMAT__) == I2S_DATAFORMAT_24B) || \
((__FORMAT__) == I2S_DATAFORMAT_32B))

Definition at line 561 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2s.h.

◆ IS_I2S_DATA_FORMAT [5/5]

#define IS_I2S_DATA_FORMAT (   __FORMAT__)
Value:
(((__FORMAT__) == I2S_DATAFORMAT_16B) || \
((__FORMAT__) == I2S_DATAFORMAT_16B_EXTENDED) || \
((__FORMAT__) == I2S_DATAFORMAT_24B) || \
((__FORMAT__) == I2S_DATAFORMAT_32B))

Definition at line 605 of file stm32h7xx_hal_i2s.h.

◆ IS_I2S_FIRST_BIT

#define IS_I2S_FIRST_BIT (   __BIT__)
Value:
(((__BIT__) == I2S_FIRSTBIT_MSB) || \
((__BIT__) == I2S_FIRSTBIT_LSB))

Definition at line 620 of file stm32h7xx_hal_i2s.h.

◆ IS_I2S_FULLDUPLEX

#define IS_I2S_FULLDUPLEX (   __MODE__)
Value:
(((__MODE__) == I2S_MODE_MASTER_FULLDUPLEX) || \
((__MODE__) == I2S_MODE_SLAVE_FULLDUPLEX))

Definition at line 596 of file stm32h7xx_hal_i2s.h.

◆ IS_I2S_FULLDUPLEX_MODE [1/3]

#define IS_I2S_FULLDUPLEX_MODE (   MODE)

◆ IS_I2S_FULLDUPLEX_MODE [2/3]

#define IS_I2S_FULLDUPLEX_MODE (   MODE)

◆ IS_I2S_FULLDUPLEX_MODE [3/3]

#define IS_I2S_FULLDUPLEX_MODE (   MODE)

◆ IS_I2S_MASTER

#define IS_I2S_MASTER (   __MODE__)
Value:
(((__MODE__) == I2S_MODE_MASTER_TX) || \
((__MODE__) == I2S_MODE_MASTER_RX) || \
((__MODE__) == I2S_MODE_MASTER_FULLDUPLEX))

Definition at line 588 of file stm32h7xx_hal_i2s.h.

◆ IS_I2S_MASTER_KEEP_IO_STATE

#define IS_I2S_MASTER_KEEP_IO_STATE (   __AFCNTR__)
Value:
(((__AFCNTR__) == I2S_MASTER_KEEP_IO_STATE_DISABLE) || \

Definition at line 629 of file stm32h7xx_hal_i2s.h.

◆ IS_I2S_MCLK_OUTPUT [1/5]

#define IS_I2S_MCLK_OUTPUT (   __OUTPUT__)
Value:
(((__OUTPUT__) == I2S_MCLKOUTPUT_ENABLE) || \
((__OUTPUT__) == I2S_MCLKOUTPUT_DISABLE))

Definition at line 525 of file stm32f7xx_hal_i2s.h.

◆ IS_I2S_MCLK_OUTPUT [2/5]

#define IS_I2S_MCLK_OUTPUT (   __OUTPUT__)

◆ IS_I2S_MCLK_OUTPUT [3/5]

#define IS_I2S_MCLK_OUTPUT (   __OUTPUT__)

◆ IS_I2S_MCLK_OUTPUT [4/5]

#define IS_I2S_MCLK_OUTPUT (   __OUTPUT__)

◆ IS_I2S_MCLK_OUTPUT [5/5]

#define IS_I2S_MCLK_OUTPUT (   __OUTPUT__)
Value:
(((__OUTPUT__) == I2S_MCLKOUTPUT_ENABLE) || \
((__OUTPUT__) == I2S_MCLKOUTPUT_DISABLE))

Definition at line 610 of file stm32h7xx_hal_i2s.h.

◆ IS_I2S_MODE [1/5]

#define IS_I2S_MODE (   __MODE__)
Value:
(((__MODE__) == I2S_MODE_SLAVE_TX) || \
((__MODE__) == I2S_MODE_SLAVE_RX) || \
((__MODE__) == I2S_MODE_MASTER_TX) || \
((__MODE__) == I2S_MODE_MASTER_RX))

Checks if I2S Mode parameter is in allowed range.

Parameters
<strong>MODE</strong>specifies the I2S Mode. This parameter can be a value of I2S Mode
Return values
None

Definition at line 509 of file stm32f7xx_hal_i2s.h.

◆ IS_I2S_MODE [2/5]

#define IS_I2S_MODE (   __MODE__)
Value:
(((__MODE__) == I2S_MODE_SLAVE_TX) || \
((__MODE__) == I2S_MODE_SLAVE_RX) || \
((__MODE__) == I2S_MODE_MASTER_TX) || \
((__MODE__) == I2S_MODE_MASTER_RX))

Checks if I2S Mode parameter is in allowed range.

Parameters
<strong>MODE</strong>specifies the I2S Mode. This parameter can be a value of I2S Mode
Return values
None

Definition at line 550 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2s.h.

◆ IS_I2S_MODE [3/5]

#define IS_I2S_MODE (   __MODE__)
Value:
(((__MODE__) == I2S_MODE_SLAVE_TX) || \
((__MODE__) == I2S_MODE_SLAVE_RX) || \
((__MODE__) == I2S_MODE_MASTER_TX) || \
((__MODE__) == I2S_MODE_MASTER_RX))

Checks if I2S Mode parameter is in allowed range.

Parameters
<strong>MODE</strong>specifies the I2S Mode. This parameter can be a value of I2S Mode
Return values
None

Definition at line 550 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2s.h.

◆ IS_I2S_MODE [4/5]

#define IS_I2S_MODE (   __MODE__)
Value:
(((__MODE__) == I2S_MODE_SLAVE_TX) || \
((__MODE__) == I2S_MODE_SLAVE_RX) || \
((__MODE__) == I2S_MODE_MASTER_TX) || \
((__MODE__) == I2S_MODE_MASTER_RX))

Checks if I2S Mode parameter is in allowed range.

Parameters
<strong>MODE</strong>specifies the I2S Mode. This parameter can be a value of I2S Mode
Return values
None

Definition at line 550 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2s.h.

◆ IS_I2S_MODE [5/5]

#define IS_I2S_MODE (   __MODE__)
Value:
(((__MODE__) == I2S_MODE_SLAVE_TX) || \
((__MODE__) == I2S_MODE_SLAVE_RX) || \
((__MODE__) == I2S_MODE_MASTER_TX) || \
((__MODE__) == I2S_MODE_MASTER_RX) || \
((__MODE__) == I2S_MODE_SLAVE_FULLDUPLEX) || \
((__MODE__) == I2S_MODE_MASTER_FULLDUPLEX))

Checks if I2S Mode parameter is in allowed range.

Parameters
<strong>MODE</strong>specifies the I2S Mode. This parameter can be a value of I2S Mode
Return values
None

Definition at line 581 of file stm32h7xx_hal_i2s.h.

◆ IS_I2S_SLAVE

#define IS_I2S_SLAVE (   __MODE__)
Value:
(((__MODE__) == I2S_MODE_SLAVE_TX) || \
((__MODE__) == I2S_MODE_SLAVE_RX) || \
((__MODE__) == I2S_MODE_SLAVE_FULLDUPLEX))

Definition at line 592 of file stm32h7xx_hal_i2s.h.

◆ IS_I2S_STANDARD [1/5]

#define IS_I2S_STANDARD (   __STANDARD__)
Value:
(((__STANDARD__) == I2S_STANDARD_PHILIPS) || \
((__STANDARD__) == I2S_STANDARD_MSB) || \
((__STANDARD__) == I2S_STANDARD_LSB) || \
((__STANDARD__) == I2S_STANDARD_PCM_SHORT) || \
((__STANDARD__) == I2S_STANDARD_PCM_LONG))

Definition at line 514 of file stm32f7xx_hal_i2s.h.

◆ IS_I2S_STANDARD [2/5]

#define IS_I2S_STANDARD (   __STANDARD__)
Value:
(((__STANDARD__) == I2S_STANDARD_PHILIPS) || \
((__STANDARD__) == I2S_STANDARD_MSB) || \
((__STANDARD__) == I2S_STANDARD_LSB) || \
((__STANDARD__) == I2S_STANDARD_PCM_SHORT) || \
((__STANDARD__) == I2S_STANDARD_PCM_LONG))

Definition at line 555 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2s.h.

◆ IS_I2S_STANDARD [3/5]

#define IS_I2S_STANDARD (   __STANDARD__)
Value:
(((__STANDARD__) == I2S_STANDARD_PHILIPS) || \
((__STANDARD__) == I2S_STANDARD_MSB) || \
((__STANDARD__) == I2S_STANDARD_LSB) || \
((__STANDARD__) == I2S_STANDARD_PCM_SHORT) || \
((__STANDARD__) == I2S_STANDARD_PCM_LONG))

Definition at line 555 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2s.h.

◆ IS_I2S_STANDARD [4/5]

#define IS_I2S_STANDARD (   __STANDARD__)
Value:
(((__STANDARD__) == I2S_STANDARD_PHILIPS) || \
((__STANDARD__) == I2S_STANDARD_MSB) || \
((__STANDARD__) == I2S_STANDARD_LSB) || \
((__STANDARD__) == I2S_STANDARD_PCM_SHORT) || \
((__STANDARD__) == I2S_STANDARD_PCM_LONG))

Definition at line 555 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2s.h.

◆ IS_I2S_STANDARD [5/5]

#define IS_I2S_STANDARD (   __STANDARD__)
Value:
(((__STANDARD__) == I2S_STANDARD_PHILIPS) || \
((__STANDARD__) == I2S_STANDARD_MSB) || \
((__STANDARD__) == I2S_STANDARD_LSB) || \
((__STANDARD__) == I2S_STANDARD_PCM_SHORT) || \
((__STANDARD__) == I2S_STANDARD_PCM_LONG))

Definition at line 599 of file stm32h7xx_hal_i2s.h.

◆ IS_I2S_WS_INVERSION

#define IS_I2S_WS_INVERSION (   __WSINV__)
Value:
(((__WSINV__) == I2S_WS_INVERSION_DISABLE) || \
((__WSINV__) == I2S_WS_INVERSION_ENABLE))

Definition at line 623 of file stm32h7xx_hal_i2s.h.

I2S_MODE_MASTER_TX
#define I2S_MODE_MASTER_TX
Definition: stm32h7xx_hal_i2s.h:208
I2S_AUDIOFREQ_8K
#define I2S_AUDIOFREQ_8K
Definition: stm32f7xx_hal_i2s.h:237
I2S_STANDARD_LSB
#define I2S_STANDARD_LSB
Definition: stm32f7xx_hal_i2s.h:199
I2S_AUDIOFREQ_192K
#define I2S_AUDIOFREQ_192K
Definition: stm32f7xx_hal_i2s.h:229
I2S_DATAFORMAT_32B
#define I2S_DATAFORMAT_32B
Definition: stm32f7xx_hal_i2s.h:212
I2S_DATA_24BIT_ALIGNMENT_RIGHT
#define I2S_DATA_24BIT_ALIGNMENT_RIGHT
Definition: stm32h7xx_hal_i2s.h:295
I2S_MODE_SLAVE_TX
#define I2S_MODE_SLAVE_TX
Definition: stm32f7xx_hal_i2s.h:186
I2S_STANDARD_MSB
#define I2S_STANDARD_MSB
Definition: stm32f7xx_hal_i2s.h:198
I2S_MASTER_KEEP_IO_STATE_ENABLE
#define I2S_MASTER_KEEP_IO_STATE_ENABLE
Definition: stm32h7xx_hal_i2s.h:305
I2S_STANDARD_PHILIPS
#define I2S_STANDARD_PHILIPS
Definition: stm32f7xx_hal_i2s.h:197
I2S_DATAFORMAT_16B_EXTENDED
#define I2S_DATAFORMAT_16B_EXTENDED
Definition: stm32f7xx_hal_i2s.h:210
I2S_FIRSTBIT_LSB
#define I2S_FIRSTBIT_LSB
Definition: stm32h7xx_hal_i2s.h:278
I2S_CPOL_HIGH
#define I2S_CPOL_HIGH
Definition: stm32f7xx_hal_i2s.h:247
I2S_STANDARD_PCM_SHORT
#define I2S_STANDARD_PCM_SHORT
Definition: stm32f7xx_hal_i2s.h:200
I2S_WS_INVERSION_DISABLE
#define I2S_WS_INVERSION_DISABLE
Definition: stm32h7xx_hal_i2s.h:286
I2S_FULLDUPLEXMODE_ENABLE
#define I2S_FULLDUPLEXMODE_ENABLE
Definition: stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2s.h:253
RESET
@ RESET
Definition: stm32f407/stm32f407g-disc1/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:187
I2S_MCLKOUTPUT_ENABLE
#define I2S_MCLKOUTPUT_ENABLE
Definition: stm32f7xx_hal_i2s.h:220
I2S_FIRSTBIT_MSB
#define I2S_FIRSTBIT_MSB
Definition: stm32h7xx_hal_i2s.h:277
I2S_MASTER_KEEP_IO_STATE_DISABLE
#define I2S_MASTER_KEEP_IO_STATE_DISABLE
Definition: stm32h7xx_hal_i2s.h:304
I2S_DATAFORMAT_24B
#define I2S_DATAFORMAT_24B
Definition: stm32f7xx_hal_i2s.h:211
I2S_MODE_MASTER_FULLDUPLEX
#define I2S_MODE_MASTER_FULLDUPLEX
Definition: stm32h7xx_hal_i2s.h:211
I2S_MODE_SLAVE_FULLDUPLEX
#define I2S_MODE_SLAVE_FULLDUPLEX
Definition: stm32h7xx_hal_i2s.h:210
I2S_CPOL_LOW
#define I2S_CPOL_LOW
Definition: stm32f7xx_hal_i2s.h:246
SET
@ SET
Definition: stm32f407/stm32f407g-disc1/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:188
I2S_WS_INVERSION_ENABLE
#define I2S_WS_INVERSION_ENABLE
Definition: stm32h7xx_hal_i2s.h:287
I2S_FULLDUPLEXMODE_DISABLE
#define I2S_FULLDUPLEXMODE_DISABLE
Definition: stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2s.h:252
I2S_CLOCK_PLL
#define I2S_CLOCK_PLL
Definition: stm32f7xx_hal_i2s.h:284
I2S_AUDIOFREQ_DEFAULT
#define I2S_AUDIOFREQ_DEFAULT
Definition: stm32f7xx_hal_i2s.h:238
I2S_MCLKOUTPUT_DISABLE
#define I2S_MCLKOUTPUT_DISABLE
Definition: stm32f7xx_hal_i2s.h:221
I2S_FLAG_MASK
#define I2S_FLAG_MASK
Definition: stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2s.h:290
I2S_MODE_SLAVE_RX
#define I2S_MODE_SLAVE_RX
Definition: stm32f7xx_hal_i2s.h:187
I2S_DATA_24BIT_ALIGNMENT_LEFT
#define I2S_DATA_24BIT_ALIGNMENT_LEFT
Definition: stm32h7xx_hal_i2s.h:296
I2S_DATAFORMAT_16B
#define I2S_DATAFORMAT_16B
Definition: stm32f7xx_hal_i2s.h:209
I2S_STANDARD_PCM_LONG
#define I2S_STANDARD_PCM_LONG
Definition: stm32f7xx_hal_i2s.h:201
I2S_CLOCK_EXTERNAL
#define I2S_CLOCK_EXTERNAL
Definition: stm32f7xx_hal_i2s.h:283
I2S_MODE_MASTER_RX
#define I2S_MODE_MASTER_RX
Definition: stm32h7xx_hal_i2s.h:209


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:06