Macros


More...

Collaboration diagram for PLL I2S Configuration:

Macros

#define __HAL_RCC_I2S_CONFIG(__SOURCE__)
 Macro to configure the I2S clock source (I2SCLK). More...
 
#define __HAL_RCC_PLLI2S_DISABLE()   (RCC->CR &= ~(RCC_CR_PLLI2SON))
 
#define __HAL_RCC_PLLI2S_ENABLE()   (RCC->CR |= (RCC_CR_PLLI2SON))
 Macros to enable or disable the PLLI2S. More...
 

Detailed Description


Macro Definition Documentation

◆ __HAL_RCC_I2S_CONFIG

#define __HAL_RCC_I2S_CONFIG (   __SOURCE__)
Value:
do {RCC->CFGR &= ~(RCC_CFGR_I2SSRC); \
RCC->CFGR |= (__SOURCE__); \
}while(0)

Macro to configure the I2S clock source (I2SCLK).

Note
This function must be called before enabling the I2S APB clock.
Parameters
<strong>SOURCE</strong>specifies the I2S clock source. This parameter can be one of the following values:
  • RCC_I2SCLKSOURCE_PLLI2S: PLLI2S clock used as I2S clock source.
  • RCC_I2SCLKSOURCE_EXT: External clock mapped on the I2S_CKIN pin used as I2S clock source.

Definition at line 924 of file stm32f7xx_hal_rcc.h.

◆ __HAL_RCC_PLLI2S_DISABLE

#define __HAL_RCC_PLLI2S_DISABLE ( )    (RCC->CR &= ~(RCC_CR_PLLI2SON))

Definition at line 932 of file stm32f7xx_hal_rcc.h.

◆ __HAL_RCC_PLLI2S_ENABLE

#define __HAL_RCC_PLLI2S_ENABLE ( )    (RCC->CR |= (RCC_CR_PLLI2SON))

Macros to enable or disable the PLLI2S.

Note
The PLLI2S is disabled by hardware when entering STOP and STANDBY modes.

Definition at line 931 of file stm32f7xx_hal_rcc.h.

RCC_CFGR_I2SSRC
#define RCC_CFGR_I2SSRC
Definition: stm32f407xx.h:9620
RCC
#define RCC
Definition: stm32f407xx.h:1113


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