EasyManuals Logo

ST STM32F31xx User Manual

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #125 background imageLoading...
Page #125 background image
UM1581
Controller area network (bxCAN)
DocID023800 Rev 1
125/584
4.2.13.4 CAN_GetITStatus
Function Name
ITStatus CAN_GetITStatus ( CAN_TypeDef * CANx, uint32_t
CAN_IT)
Function Description
Checks whether the specified CANx interrupt has occurred or not.
Parameters
ï‚· 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 : Transmit mailbox empty Interrupt
 CAN_IT_FMP0 : FIFO 0 message pending Interrupt
 CAN_IT_FF0 : FIFO 0 full Interrupt
 CAN_IT_FOV0 : FIFO 0 overrun Interrupt
 CAN_IT_FMP1 : FIFO 1 message pending Interrupt
 CAN_IT_FF1 : FIFO 1 full Interrupt
 CAN_IT_FOV1 : FIFO 1 overrun Interrupt
 CAN_IT_WKU : Wake-up Interrupt
 CAN_IT_SLK : Sleep acknowledge Interrupt
 CAN_IT_EWG : Error warning Interrupt
 CAN_IT_EPV : Error passive Interrupt
 CAN_IT_BOF : Bus-off Interrupt
 CAN_IT_LEC : Last error code Interrupt
 CAN_IT_ERR : Error Interrupt
Return values
ï‚· The current state of CAN_IT (SET or RESET).
Notes
ï‚· None.
4.2.13.5 CAN_ClearITPendingBit
Function Name
void CAN_ClearITPendingBit ( CAN_TypeDef * CANx, uint32_t
CAN_IT)
Function Description
Clears the CANx's interrupt pending bits.
Parameters
ï‚· 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 : Transmit mailbox empty Interrupt
 CAN_IT_FF0 : FIFO 0 full Interrupt
 CAN_IT_FOV0 : FIFO 0 overrun Interrupt
 CAN_IT_FF1 : FIFO 1 full Interrupt
 CAN_IT_FOV1 : FIFO 1 overrun Interrupt
 CAN_IT_WKU : Wake-up Interrupt

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals