mikroSDK Reference Manual
|
Macros | |
#define | __HAL_RCC_PLLI2S_ENABLE() (*(__IO uint32_t *) RCC_CR_PLLI2SON_BB = ENABLE) |
Macros to enable or disable the PLLI2S. | |
#define | __HAL_RCC_PLLI2S_DISABLE() (*(__IO uint32_t *) RCC_CR_PLLI2SON_BB = DISABLE) |
#define | __HAL_RCC_PLLI2S_CONFIG(__PLLI2SN__, __PLLI2SR__) (RCC->PLLI2SCFGR = ((__PLLI2SN__) << POSITION_VAL(RCC_PLLI2SCFGR_PLLI2SN)) | ((__PLLI2SR__) << POSITION_VAL(RCC_PLLI2SCFGR_PLLI2SR))) |
Macro to configure the PLLI2S clock multiplication and division factors . | |
#define | __HAL_RCC_I2S_CONFIG(__SOURCE__) (*(__IO uint32_t *) RCC_CFGR_I2SSRC_BB = (__SOURCE__)) |
Macro to configure the I2S clock source (I2SCLK). | |
#define | __HAL_RCC_I2S_CONFIG(__SOURCE__) |
Macro to configure the I2S clock source (I2SCLK). | |
#define | __HAL_RCC_PLLI2S_ENABLE() (RCC->CR |= (RCC_CR_PLLI2SON)) |
Macros to enable or disable the PLLI2S. | |
#define | __HAL_RCC_PLLI2S_DISABLE() (RCC->CR &= ~(RCC_CR_PLLI2SON)) |
#define __HAL_RCC_I2S_CONFIG | ( | __SOURCE__ | ) | (*(__IO uint32_t *) RCC_CFGR_I2SSRC_BB = (__SOURCE__)) |
__SOURCE__ | specifies the I2S clock source. This parameter can be one of the following values:
|
#define __HAL_RCC_I2S_CONFIG | ( | __SOURCE__ | ) |
__SOURCE__ | specifies the I2S clock source. This parameter can be one of the following values:
|
#define __HAL_RCC_PLLI2S_CONFIG | ( | __PLLI2SN__, | |
__PLLI2SR__ ) (RCC->PLLI2SCFGR = ((__PLLI2SN__) << POSITION_VAL(RCC_PLLI2SCFGR_PLLI2SN)) | ((__PLLI2SR__) << POSITION_VAL(RCC_PLLI2SCFGR_PLLI2SR))) |
__PLLI2SN__ | specifies the multiplication factor for PLLI2S VCO output clock This parameter must be a number between Min_Data = 192 and Max_Data = 432. |
__PLLI2SR__ | specifies the division factor for I2S clock This parameter must be a number between Min_Data = 2 and Max_Data = 7. |
#define __HAL_RCC_PLLI2S_ENABLE | ( | ) | (*(__IO uint32_t *) RCC_CR_PLLI2SON_BB = ENABLE) |
#define __HAL_RCC_PLLI2S_ENABLE | ( | ) | (RCC->CR |= (RCC_CR_PLLI2SON)) |