AN1105 STMicroelectronics, AN1105 Datasheet - Page 48

no-image

AN1105

Manufacturer Part Number
AN1105
Description
ST7 PCAN PERIPHERAL DRIVER
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AN1105W-12-RR
Quantity:
13 804
Part Number:
AN1105W-22-RR
Manufacturer:
SANYO
Quantity:
8 570
Part Number:
AN1105W-TR
Manufacturer:
PANASONIC
Quantity:
27 995
Part Number:
AN1105W-TR
Manufacturer:
STANLEY
Quantity:
20 000
ST7 pCAN PERIPHERAL DRIVER
3.2.2.5 static CAN_Message* CAN_Out_Queue (void)
The algorithm is exactly the same as for CAN_In_Queue().
3.2.2.6 static CAN_Clean_Error CAN_Clean (void)
Figure 23. CAN_Clean Flowchart
48/100
INPUT
OUTPUT
DESCRIPTION
COMMENTS
INPUT
OUTPUT
DESCRIPTION
COMMENTS
CAN_CLEAN_SUCCESS
CAN_CLEAN_FAILURE
CAN_CLEAN_FATAL
Y
Begin
RUN=1
Returns
Returns
Returns
--
Pointer to a CAN message
Returns a pointer to the first message in the transmission queue and updates the
queue parameters
Must not be interrupted
Called by CAN_Fill_Transmission_Buffer
--
Error status
Cleans the reception and transmission buffers, and resets the transmission queue in
the first initialization state.
Only affects pointers
Possible return values: CAN_CLEAN_FAILURE, CAN_CLEAN_SUCCESS and
CAN_CLEAN_FATAL
Must be called only in Sleep mode (run bit reset)
Must not be interrupted
Called by CAN_Sleep and CAN_Switch_Off
N
Queue in use
Y
N
Clears all pending jobs
Clears all pending ITs
Reinitializes queue
Unlocks queue
Locks queue

Related parts for AN1105