|
STM CMSIS
|
Macros | |
| #define | __HAL_RCC_MCO1_CONFIG(__MCOCLKSOURCE__, __MCODIV__) MODIFY_REG(RCC->CFGR, (RCC_CFGR_MCO1 | RCC_CFGR_MCO1PRE), ((__MCOCLKSOURCE__) | (__MCODIV__))) |
| Macro to configure the MCO1 clock. More... | |
| #define | __HAL_RCC_MCO2_CONFIG(__MCOCLKSOURCE__, __MCODIV__) MODIFY_REG(RCC->CFGR, (RCC_CFGR_MCO2 | RCC_CFGR_MCO2PRE), ((__MCOCLKSOURCE__) | ((__MCODIV__) << 3U))); |
| Macro to configure the MCO2 clock. More... | |
| #define __HAL_RCC_MCO1_CONFIG | ( | __MCOCLKSOURCE__, | |
| __MCODIV__ | |||
| ) | MODIFY_REG(RCC->CFGR, (RCC_CFGR_MCO1 | RCC_CFGR_MCO1PRE), ((__MCOCLKSOURCE__) | (__MCODIV__))) |
Macro to configure the MCO1 clock.
| <strong>MCOCLKSOURCE</strong> | specifies the MCO clock source. This parameter can be one of the following values:
|
| <strong>MCODIV</strong> | specifies the MCO clock prescaler. This parameter can be one of the following values:
|
| #define __HAL_RCC_MCO2_CONFIG | ( | __MCOCLKSOURCE__, | |
| __MCODIV__ | |||
| ) | MODIFY_REG(RCC->CFGR, (RCC_CFGR_MCO2 | RCC_CFGR_MCO2PRE), ((__MCOCLKSOURCE__) | ((__MCODIV__) << 3U))); |
Macro to configure the MCO2 clock.
| <strong>MCOCLKSOURCE</strong> | specifies the MCO clock source. This parameter can be one of the following values:
|
| <strong>MCODIV</strong> | specifies the MCO clock prescaler. This parameter can be one of the following values:
|