mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
Diff: targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_sdio.c
- Revision:
- 84:f54042cbc282
- Parent:
- 70:c1fbde68b492
--- a/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_sdio.c Fri Jan 31 10:15:06 2014 +0000 +++ b/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_sdio.c Mon Feb 03 09:30:05 2014 +0000 @@ -2,8 +2,8 @@ ****************************************************************************** * @file stm32f10x_sdio.c * @author MCD Application Team - * @version V3.5.0 - * @date 11-March-2011 + * @version V3.6.1 + * @date 05-March-2012 * @brief This file provides all the SDIO firmware functions. ******************************************************************************* * Copyright (c) 2014, STMicroelectronics @@ -268,8 +268,7 @@ /* Check the parameters */ assert_param(IS_SDIO_POWER_STATE(SDIO_PowerState)); - SDIO->POWER &= PWR_PWRCTRL_MASK; - SDIO->POWER |= SDIO_PowerState; + SDIO->POWER = SDIO_PowerState; } /** @@ -811,4 +810,4 @@ * @} */ -/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ +/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/