mikroSDK Reference Manual
|
Macros | |
#define | __HAL_RCC_MCO1_CONFIG(__MCOCLKSOURCE__, __MCODIV__) MODIFY_REG(RCC->CFGR, RCC_CFGR_MCO, (__MCOCLKSOURCE__)) |
Macro to configure the MCO 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. | |
#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. | |
#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__) << 3U))); |
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. | |
#define | __HAL_RCC_MCO2_CONFIG(__MCOCLKSOURCE__, __MCODIV__) MODIFY_REG(RCC->CFGR, (RCC_CFGR_MCO2 | RCC_CFGR_MCO2PRE), ((__MCOCLKSOURCE__) | ((__MCODIV__) << 3))); |
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. | |
#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_MCO, (__MCOCLKSOURCE__)) |
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:
|
__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:
|
__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_MCO1_CONFIG | ( | __MCOCLKSOURCE__, | |
__MCODIV__ ) MODIFY_REG(RCC->CFGR, (RCC_CFGR_MCO1 | RCC_CFGR_MCO1PRE), ((__MCOCLKSOURCE__) | (__MCODIV__))) |
__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:
|
__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_MCO1_CONFIG | ( | __MCOCLKSOURCE__, | |
__MCODIV__ ) MODIFY_REG(RCC->CFGR, (RCC_CFGR_MCO1 | RCC_CFGR_MCO1PRE), ((__MCOCLKSOURCE__) | (__MCODIV__))) |
__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:
|
__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_MCO1_CONFIG | ( | __MCOCLKSOURCE__, | |
__MCODIV__ ) MODIFY_REG(RCC->CFGR, (RCC_CFGR_MCO1 | RCC_CFGR_MCO1PRE), ((__MCOCLKSOURCE__) | (__MCODIV__))) |
__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:
|
__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_MCO1_CONFIG | ( | __MCOCLKSOURCE__, | |
__MCODIV__ ) MODIFY_REG(RCC->CFGR, (RCC_CFGR_MCO1 | RCC_CFGR_MCO1PRE), ((__MCOCLKSOURCE__) | (__MCODIV__))) |
__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__) << 3U))); |
__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:
|
__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:
|
__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__) << 3U))); |
__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:
|
__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:
|
__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__) << 3))); |
__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:
|
__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))); |
__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:
|