libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_can.c
/**
  * @brief  Releases the specified FIFO.
  * @param  CANx:       where x can be 1 or 2 to to select the CAN peripheral. 
  * @param  FIFONumber: FIFO to release, CAN_FIFO0 or CAN_FIFO1.
  * @retval None.
  */
@brief  Releases the specified FIFO.
@param  CANx:       where x can be 1 or 2 to to select the CAN peripheral.
@brief Releases the specified FIFO . @param CANx : where x can be 1 or 2 to to select the CAN peripheral .
void CAN_FIFORelease(CAN_TypeDef* CANx, uint8_t FIFONumber)
{
  assert_param(IS_CAN_ALL_PERIPH(CANx));
  assert_param(IS_CAN_FIFO(FIFONumber));
  if (FIFONumber == CAN_FIFO0)
  {
    CANx->RF0R |= CAN_RF0R_RFOM0;
  }
  else 
  {
    CANx->RF1R |= CAN_RF1R_RFOM1;
  }
}
void CAN_FIFORelease ( CAN_TypeDef * CANx , uint8_t FIFONumber ) { assert_param ( IS_CAN_ALL_PERIPH ( CANx ) ) ; assert_param ( IS_CAN_FIFO ( FIFONumber ) ) ; if ( FIFONumber == CAN_FIFO0 ) { CANx -> RF0R |= CAN_RF0R_RFOM0 ; } else { CANx -> RF1R |= CAN_RF1R_RFOM1 ; } }
@brief  Releases the specified FIFO.
@brief Releases the specified FIFO .
/* Check the parameters */ /* Release FIFO0 */ /* Release FIFO1 */ /* FIFONumber == CAN_FIFO1 */