ST STM32F31xx User Manual page 125

Table of Contents

Advertisement

UM1581
4.2.13.4
CAN_GetITStatus
Function Name
Function Description
Parameters
Return values
Notes
4.2.13.5
CAN_ClearITPendingBit
Function Name
Function Description
Parameters
ITStatus CAN_GetITStatus (
CAN_IT)
Checks whether the specified CANx interrupt has occurred or not.
CANx : where x can be 1 or 2 to to select the CAN
peripheral.
CAN_IT : specifies the CAN interrupt source to check. This
parameter can be one of the following values:
CAN_IT_TME :
CAN_IT_FMP0 :
CAN_IT_FF0 :
CAN_IT_FOV0 :
CAN_IT_FMP1 :
CAN_IT_FF1 :
CAN_IT_FOV1 :
CAN_IT_WKU :
CAN_IT_SLK :
CAN_IT_EWG :
CAN_IT_EPV :
CAN_IT_BOF :
CAN_IT_LEC :
CAN_IT_ERR :
The current state of CAN_IT (SET or RESET).
None.
void CAN_ClearITPendingBit (
CAN_IT)
Clears the CANx's interrupt pending bits.
CANx : where x can be 1 or 2 to to select the CAN
peripheral.
CAN_IT : specifies the interrupt pending bit to clear. This
parameter can be one of the following values:
CAN_IT_TME :
CAN_IT_FF0 :
CAN_IT_FOV0 :
CAN_IT_FF1 :
CAN_IT_FOV1 :
CAN_IT_WKU :
DocID023800 Rev 1
Controller area network (bxCAN)
CAN_TypeDef *
Transmit mailbox empty Interrupt
FIFO 0 message pending Interrupt
FIFO 0 full Interrupt
FIFO 0 overrun Interrupt
FIFO 1 message pending Interrupt
FIFO 1 full Interrupt
FIFO 1 overrun Interrupt
Wake-up Interrupt
Sleep acknowledge Interrupt
Error warning Interrupt
Error passive Interrupt
Bus-off Interrupt
Last error code Interrupt
Error Interrupt
CAN_TypeDef *
Transmit mailbox empty Interrupt
FIFO 0 full Interrupt
FIFO 0 overrun Interrupt
FIFO 1 full Interrupt
FIFO 1 overrun Interrupt
Wake-up Interrupt
CANx, uint32_t
CANx, uint32_t
125/584

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F31xx and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f30xx

Table of Contents