📄 71x_it.c
字号:
}
Response_Received = TRUE;
}
else if (UART_FlagStatus(UART0) & (UART_TxEmpty | UART_TxHalfEmpty))
{
if ((StringSize- DataSent) > 8)
{
BytesToSend = 8;
}
else
{
BytesToSend = StringSize - DataSent;
}
if (!(UART_FlagStatus(UART0) & UART_TxEmpty))/*send the next bytes*/
{
UART_DataSend(UART0, TransferData + DataSent, BytesToSend);
DataSent += BytesToSend;
}
else if (UART_FlagStatus(UART0) & UART_TxEmpty)
{
/* Reset the UART0 TxFIFO */
UART_FifoReset (UART0 , UART_TxFIFO);
UART_ItConfig(UART0, UART_TxHalfEmpty, DISABLE);
UART_ItConfig(UART0, UART_TxEmpty, DISABLE);
Data_Sent_Status = TRUE;
}
}
}
/*******************************************************************************
* Function Name : UART1_IRQHandler
* Description : This function handles the UART1 global interrupt.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void UART1_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : UART2_IRQHandler
* Description : This function handles the UART2 global interrupt.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void UART2_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : UART3_IRQHandler
* Description : This function handles the UART3 global interrupt.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void UART3_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : BSPI0_IRQHandler
* Description : This function handles the BSPI0 global interrupt.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void BSPI0_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : BSPI1_IRQHandler
* Description : This function handles the BSPI1 global interrupt.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void BSPI1_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : I2C0_IRQHandler
* Description : This function handles the I2C0 global interrupt.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void I2C0_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : I2C1_IRQHandler
* Description : This function handles the I2C1 global interrupt.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void I2C1_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : CAN_IRQHandler
* Description : This function handles the CAN module global interrupt.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void CAN_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : ADC12_IRQHandler
* Description : This function handles the ADC sample ready interrupt.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void ADC12_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : T1TIMI_IRQHandler
* Description : This function handles Timer1 global interrupt.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void T1TIMI_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : T2TIMI_IRQHandler
* Description : This function handles Timer2 global interrupt.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void T2TIMI_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : T3TIMI_IRQHandler
* Description : This function handles Timer3 global interrupt.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void T3TIMI_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : HDLC_IRQHandler
* Description : This function handles HDLC global interrupt.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void HDLC_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : USBLP_IRQHandler
* Description : This function handles USB low priority event interrupt.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void USBLP_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : T0TOI_IRQHandler
* Description : This function handles the Timer0 overflow interrupt.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void T0TOI_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : T0OC1_IRQHandler
* Description : This function handles the Timer0 Output compare 1 interrupt.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void T0OC1_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : T0OC2_IRQHandler
* Description : This function handles the Timer0 Output compare 2 interrupt.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void T0OC2_IRQHandler(void)
{
}
/******************* (C) COPYRIGHT 2007 STMicroelectronics *****END OF FILE****/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -