libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_rcc.c
/**
  * @brief  Forces or releases AHB peripheral reset.
  * @note   This function applies only to STM32 Connectivity line devices.
  * @param  RCC_AHBPeriph: specifies the AHB peripheral to reset.
  *   This parameter can be any combination of the following values:
  *     @arg RCC_AHBPeriph_OTG_FS 
  *     @arg RCC_AHBPeriph_ETH_MAC
  * @param  NewState: new state of the specified peripheral reset.
  *   This parameter can be: ENABLE or DISABLE.
  * @retval None
  */
@brief  Forces or releases AHB peripheral reset.
@note   This function applies only to STM32 Connectivity line devices.
@param  RCC_AHBPeriph: specifies the AHB peripheral to reset.
This parameter can be any combination of the following values:
@arg RCC_AHBPeriph_OTG_FS
@arg RCC_AHBPeriph_ETH_MAC
@param  NewState: new state of the specified peripheral reset.
This parameter can be: ENABLE or DISABLE.
@retval None
@brief Forces or releases AHB peripheral reset . @note This function applies only to STM32 Connectivity line devices . @param RCC_AHBPeriph : specifies the AHB peripheral to reset . This parameter can be any combination of the following values : @arg RCC_AHBPeriph_OTG_FS @arg RCC_AHBPeriph_ETH_MAC @param NewState : new state of the specified peripheral reset . This parameter can be : ENABLE or DISABLE . @retval None
void RCC_AHBPeriphResetCmd(uint32_t RCC_AHBPeriph, FunctionalState NewState)
{
  assert_param(IS_RCC_AHB_PERIPH_RESET(RCC_AHBPeriph));
  assert_param(IS_FUNCTIONAL_STATE(NewState));
  if (NewState != DISABLE)
  {
    RCC->AHBRSTR |= RCC_AHBPeriph;
  }
  else
  {
    RCC->AHBRSTR &= ~RCC_AHBPeriph;
  }
}
void RCC_AHBPeriphResetCmd ( uint32_t RCC_AHBPeriph , FunctionalState NewState ) { assert_param ( IS_RCC_AHB_PERIPH_RESET ( RCC_AHBPeriph ) ) ; assert_param ( IS_FUNCTIONAL_STATE ( NewState ) ) ; if ( NewState != DISABLE ) { RCC -> AHBRSTR |= RCC_AHBPeriph ; } else { RCC -> AHBRSTR &= ~ RCC_AHBPeriph ; } }
@brief  Forces or releases AHB peripheral reset.
@brief Forces or releases AHB peripheral reset .
/* Check the parameters */