ECU/src/00- SERVICES/01- RTOS/RCC_program.c
Error_Status RCC_enumDisableClock( u8 PeripheralName ) {
	if (PeripheralName < 94) {
		CLEAR_BIT( *( (volatile u32*) (&RCC->AHBENR + ((u32) PeripheralName / 32) )  ), PeripheralName % 32);
		return OK;
	} else {
		return numberOutOfRange;
	}
}
/**
  * @brief  Removes the processor clock to any specified peripheral.
  * @param  PeripheralName: x_CLOCK where x is the peripheral name
  * @retval Error_Status
  */
@brief  Removes the processor clock to any specified peripheral.
@param  PeripheralName: x_CLOCK where x is the peripheral name
@retval Error_Status
@brief Removes the processor clock to any specified peripheral . @param PeripheralName : x_CLOCK where x is the peripheral name @retval Error_Status
Error_Status RCC_enumDisableClock( u8 PeripheralName ) {
	if (PeripheralName < 94) {
		CLEAR_BIT( *( (volatile u32*) (&RCC->AHBENR + ((u32) PeripheralName / 32) )  ), PeripheralName % 32);
		return OK;
	} else {
		return numberOutOfRange;
	}
}
Error_Status RCC_enumDisableClock ( u8 PeripheralName ) { if ( PeripheralName < 94 ) { CLEAR_BIT ( * ( ( volatile u32 * ) ( & RCC -> AHBENR + ( ( u32 ) PeripheralName / 32 ) ) ) , PeripheralName % 32 ) ; return OK ; } else { return numberOutOfRange ; } }
@brief  Removes the processor clock to any specified peripheral.
@brief Removes the processor clock to any specified peripheral .