RTEMS 6.1-rc4
|
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. | |
#define | __HAL_RCC_MCO2_CONFIG(__MCOCLKSOURCE__, __MCODIV__) MODIFY_REG(RCC->CFGR, (RCC_CFGR_MCO2 | RCC_CFGR_MCO2PRE), ((__MCOCLKSOURCE__) | ((__MCODIV__) << 7))); |
Macro to configure the MCO2 clock. | |
#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.
__MCOCLKSOURCE__ | specifies the MCO clock source. This parameter can be one of the following values:
|
__MCODIV__ | 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__) << 7))); |
Macro to configure the MCO2 clock.
__MCOCLKSOURCE__ | specifies the MCO clock source. This parameter can be one of the following values:
|
__MCODIV__ | specifies the MCO clock prescaler. This parameter can be one of the following values:
|