📄 73x_it.c
字号:
/*******************************************************************************
* Function Name : TIM9_IRQHandler
* Description : This function handles the TIM9 interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void TIM9_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : UART2_IRQHandler
* Description : This function handles the UART2 interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void UART2_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : UART3_IRQHandler
* Description : This function handles the UART3 interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void UART3_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : FlashEOP_IRQHandler
* Description : This function handles the FLASH end of program interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void FLASHEOP_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : PWM0_IRQHandler
* Description : This function handles the PWM0 interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void PWM0_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : PWM1_IRQHandler
* Description : This function handles the PWM1 interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void PWM1_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : PWM2_IRQHandler
* Description : This function handles the PWM2 interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void PWM2_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : PWM3_IRQHandler
* Description : This function handles the PWM3 interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void PWM3_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : PWM4_IRQHandler
* Description : This function handles the PWM4 interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void PWM4_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : PWM5_IRQHandler
* Description : This function handles the PWM5 interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void PWM5_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : WIU_IRQHandler
* Description : This function handles the wake-up system interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void WIU_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : WDGWUT_IRQHandler
* Description : This function handles the watchdog and the wakeup timer interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void WDGWUT_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : BSPI0_IRQHandler
* Description : This function handles the BSPI0 interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void BSPI0_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : BSPI1_IRQHandler
* Description : This function handles the BSPI1 interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void BSPI1_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : BSPI2_IRQHandler
* Description : This function handles the BSPI2 interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void BSPI2_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : UART0_IRQHandler
* Description : This function handles the UART0 interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void UART0_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : UART1_IRQHandler
* Description : This function handles the UART1 interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void UART1_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : I2C0ITERR_IRQHandler
* Description : This function handles the I2C0 and DMA Error Interrupt requests
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void I2C0ITERR_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : I2C1ITERR_IRQHandler
* Description : This function handles the I2C1 and DMA Error Interrupt requests.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void I2C1ITERR_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : I2C0ITDDC_IRQHandler
* Description : This function handles the I2C0 and the General Interrupt requests.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void I2C0ITDDC_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : I2C1ITDDC_IRQHandler
* Description : This function handles the I2C1 and the General Interrupt requests
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void I2C1ITDDC_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : CAN0_IRQHandler
* Description : This function handles the CAN0 interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void CAN0_IRQHandler (void)
{
u32 msgobj;
if (CAN0->IDR == 0x8000) /* status interrupt */
(void)CAN0->SR; /* read the status register to clear */
else if ((CAN0->IDR >= 1) && (CAN0->IDR <= 32))
{
/* Get the message object number that caused the interrupt to occur*/
switch (msgobj = CAN0->IDR - 1)
{
case CAN0_TX_MSGOBJ:
GPIO_BitWrite(GPIO0, GPIO_PIN_12 , Bit_SET);
CAN_ReleaseTxMessage(CAN0, msgobj);
break;
case CAN0_RX_MSGOBJ:
CAN_ReceiveMessage(CAN0, msgobj, FALSE, &RxCan0Msg);
CAN_ReleaseRxMessage(CAN0, msgobj);
break;
default:
CAN_ReleaseMessage(CAN0, msgobj);
}
}
}
/*******************************************************************************
* Function Name : CAN1_IRQHandler
* Description : This function handles the CAN1 interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void CAN1_IRQHandler (void)
{
u32 msgobj;
if (CAN1->IDR == 0x8000) /*status interrupt*/
(void)CAN1->SR; /* read the status register to clear*/
else if ((CAN1->IDR >= 1) && (CAN1->IDR <= 32))
{
/* get the message object number that caused the interrupt to occur*/
switch (msgobj = CAN1->IDR - 1)
{
case CAN1_TX_MSGOBJ:
GPIO_BitWrite(GPIO0, GPIO_PIN_14 , Bit_SET);
CAN_ReleaseTxMessage(CAN1, msgobj);
break;
case CAN1_RX_MSGOBJ:
CAN_ReceiveMessage(CAN1, msgobj, FALSE, &RxCan1Msg);
CAN_ReleaseRxMessage(CAN1, msgobj);
break;
default:
CAN_ReleaseMessage(CAN1, msgobj);
}
}
}
/*******************************************************************************
* Function Name : CAN2_IRQHandler
* Description : This function handles the CAN2 interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void CAN2_IRQHandler (void)
{
u32 msgobj;
/* GPIO1 Clock Enable */
CFG_PeripheralClockConfig(CFG_CLK_GPIO1 , ENABLE);
/* GPIO1 Configuration */
GPIO1_InitStructure.GPIO_Mode = GPIO_Mode_OUT_PP;
GPIO1_InitStructure.GPIO_Pins = GPIO_PIN_0 ;
GPIO_Init (GPIO1, &GPIO1_InitStructure);
if (CAN2->IDR == 0x8000) /* status interrupt*/
(void)CAN2->SR; /* read the status register to clear*/
else if (CAN2->IDR >= 1 && CAN2->IDR <= 32)
{
/* get the message object number that caused the interrupt to occur*/
switch (msgobj = CAN2->IDR - 1)
{
case CAN2_TX_MSGOBJ:
GPIO_BitWrite(GPIO1, GPIO_PIN_0 , Bit_SET);
CAN_ReleaseTxMessage(CAN2, msgobj);
break;
case CAN2_RX_MSGOBJ:
CAN_ReceiveMessage(CAN2, msgobj, FALSE, &RxCan2Msg);
CAN_ReleaseRxMessage(CAN2, msgobj);
break;
default:
CAN_ReleaseMessage(CAN2, msgobj);
}
}
}
/*******************************************************************************
* Function Name : DMA0_IRQHandler
* Description : This function handles the DMA0 interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void DMA0_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : DMA1_IRQHandler
* Description : This function handles the DMA1 interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void DMA1_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : DMA2_IRQHandler
* Description : This function handles the DMA2 interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void DMA2_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : DMA3_IRQHandler
* Description : This function handles the DMA3 interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void DMA3_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : ADC_IRQHandler
* Description : This function handles the ADC interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void ADC_IRQHandler (void)
{
}
/*******************************************************************************
* Function Name : RTC_IRQHandler
* Description : This function handles the RTC interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void RTC_IRQHandler (void)
{
}
/******************* (C) COPYRIGHT 2005 STMicroelectronics *****END OF FILE****/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -