STM32L4xx_HAL_Driver  1.14.0

CAN Callback functions. More...

Functions

void HAL_CAN_TxMailbox0CompleteCallback (CAN_HandleTypeDef *hcan)
 Transmission Mailbox 0 complete callback. More...
 
void HAL_CAN_TxMailbox1CompleteCallback (CAN_HandleTypeDef *hcan)
 Transmission Mailbox 1 complete callback. More...
 
void HAL_CAN_TxMailbox2CompleteCallback (CAN_HandleTypeDef *hcan)
 Transmission Mailbox 2 complete callback. More...
 
void HAL_CAN_TxMailbox0AbortCallback (CAN_HandleTypeDef *hcan)
 Transmission Mailbox 0 Cancellation callback. More...
 
void HAL_CAN_TxMailbox1AbortCallback (CAN_HandleTypeDef *hcan)
 Transmission Mailbox 1 Cancellation callback. More...
 
void HAL_CAN_TxMailbox2AbortCallback (CAN_HandleTypeDef *hcan)
 Transmission Mailbox 2 Cancellation callback. More...
 
void HAL_CAN_RxFifo0MsgPendingCallback (CAN_HandleTypeDef *hcan)
 Rx FIFO 0 message pending callback. More...
 
void HAL_CAN_RxFifo0FullCallback (CAN_HandleTypeDef *hcan)
 Rx FIFO 0 full callback. More...
 
void HAL_CAN_RxFifo1MsgPendingCallback (CAN_HandleTypeDef *hcan)
 Rx FIFO 1 message pending callback. More...
 
void HAL_CAN_RxFifo1FullCallback (CAN_HandleTypeDef *hcan)
 Rx FIFO 1 full callback. More...
 
void HAL_CAN_SleepCallback (CAN_HandleTypeDef *hcan)
 Sleep callback. More...
 
void HAL_CAN_WakeUpFromRxMsgCallback (CAN_HandleTypeDef *hcan)
 WakeUp from Rx message callback. More...
 
void HAL_CAN_ErrorCallback (CAN_HandleTypeDef *hcan)
 Error CAN callback. More...
 

Detailed Description

CAN Callback functions.

Callback functions.

  ==============================================================================
                          ##### Callback functions #####
  ==============================================================================
    [..]
    This subsection provides the following callback functions:
      (+) HAL_CAN_TxMailbox0CompleteCallback
      (+) HAL_CAN_TxMailbox1CompleteCallback
      (+) HAL_CAN_TxMailbox2CompleteCallback
      (+) HAL_CAN_TxMailbox0AbortCallback
      (+) HAL_CAN_TxMailbox1AbortCallback
      (+) HAL_CAN_TxMailbox2AbortCallback
      (+) HAL_CAN_RxFifo0MsgPendingCallback
      (+) HAL_CAN_RxFifo0FullCallback
      (+) HAL_CAN_RxFifo1MsgPendingCallback
      (+) HAL_CAN_RxFifo1FullCallback
      (+) HAL_CAN_SleepCallback
      (+) HAL_CAN_WakeUpFromRxMsgCallback
      (+) HAL_CAN_ErrorCallback

Function Documentation

◆ HAL_CAN_ErrorCallback()

__weak void HAL_CAN_ErrorCallback ( CAN_HandleTypeDef hcan)

Error CAN callback.

Parameters
hcanpointer to a CAN_HandleTypeDef structure that contains the configuration information for the specified CAN.
Return values
None

Definition at line 2309 of file stm32l4xx_hal_can.c.

2310 {
2311  /* Prevent unused argument(s) compilation warning */
2312  UNUSED(hcan);
2313 
2314  /* NOTE : This function Should not be modified, when the callback is needed,
2315  the HAL_CAN_ErrorCallback could be implemented in the user file
2316  */
2317 }

◆ HAL_CAN_RxFifo0FullCallback()

__weak void HAL_CAN_RxFifo0FullCallback ( CAN_HandleTypeDef hcan)

Rx FIFO 0 full callback.

Parameters
hcanpointer to a CAN_HandleTypeDef structure that contains the configuration information for the specified CAN.
Return values
None

Definition at line 2225 of file stm32l4xx_hal_can.c.

2226 {
2227  /* Prevent unused argument(s) compilation warning */
2228  UNUSED(hcan);
2229 
2230  /* NOTE : This function Should not be modified, when the callback is needed,
2231  the HAL_CAN_RxFifo0FullCallback could be implemented in the user
2232  file
2233  */
2234 }

◆ HAL_CAN_RxFifo0MsgPendingCallback()

__weak void HAL_CAN_RxFifo0MsgPendingCallback ( CAN_HandleTypeDef hcan)

Rx FIFO 0 message pending callback.

Parameters
hcanpointer to a CAN_HandleTypeDef structure that contains the configuration information for the specified CAN.
Return values
None

Definition at line 2208 of file stm32l4xx_hal_can.c.

2209 {
2210  /* Prevent unused argument(s) compilation warning */
2211  UNUSED(hcan);
2212 
2213  /* NOTE : This function Should not be modified, when the callback is needed,
2214  the HAL_CAN_RxFifo0MsgPendingCallback could be implemented in the
2215  user file
2216  */
2217 }

◆ HAL_CAN_RxFifo1FullCallback()

__weak void HAL_CAN_RxFifo1FullCallback ( CAN_HandleTypeDef hcan)

Rx FIFO 1 full callback.

Parameters
hcanpointer to a CAN_HandleTypeDef structure that contains the configuration information for the specified CAN.
Return values
None

Definition at line 2259 of file stm32l4xx_hal_can.c.

2260 {
2261  /* Prevent unused argument(s) compilation warning */
2262  UNUSED(hcan);
2263 
2264  /* NOTE : This function Should not be modified, when the callback is needed,
2265  the HAL_CAN_RxFifo1FullCallback could be implemented in the user
2266  file
2267  */
2268 }

◆ HAL_CAN_RxFifo1MsgPendingCallback()

__weak void HAL_CAN_RxFifo1MsgPendingCallback ( CAN_HandleTypeDef hcan)

Rx FIFO 1 message pending callback.

Parameters
hcanpointer to a CAN_HandleTypeDef structure that contains the configuration information for the specified CAN.
Return values
None

Definition at line 2242 of file stm32l4xx_hal_can.c.

2243 {
2244  /* Prevent unused argument(s) compilation warning */
2245  UNUSED(hcan);
2246 
2247  /* NOTE : This function Should not be modified, when the callback is needed,
2248  the HAL_CAN_RxFifo1MsgPendingCallback could be implemented in the
2249  user file
2250  */
2251 }

◆ HAL_CAN_SleepCallback()

__weak void HAL_CAN_SleepCallback ( CAN_HandleTypeDef hcan)

Sleep callback.

Parameters
hcanpointer to a CAN_HandleTypeDef structure that contains the configuration information for the specified CAN.
Return values
None

Definition at line 2276 of file stm32l4xx_hal_can.c.

2277 {
2278  /* Prevent unused argument(s) compilation warning */
2279  UNUSED(hcan);
2280 
2281  /* NOTE : This function Should not be modified, when the callback is needed,
2282  the HAL_CAN_SleepCallback could be implemented in the user file
2283  */
2284 }

◆ HAL_CAN_TxMailbox0AbortCallback()

__weak void HAL_CAN_TxMailbox0AbortCallback ( CAN_HandleTypeDef hcan)

Transmission Mailbox 0 Cancellation callback.

Parameters
hcanpointer to an CAN_HandleTypeDef structure that contains the configuration information for the specified CAN.
Return values
None

Definition at line 2157 of file stm32l4xx_hal_can.c.

2158 {
2159  /* Prevent unused argument(s) compilation warning */
2160  UNUSED(hcan);
2161 
2162  /* NOTE : This function Should not be modified, when the callback is needed,
2163  the HAL_CAN_TxMailbox0AbortCallback could be implemented in the
2164  user file
2165  */
2166 }

◆ HAL_CAN_TxMailbox0CompleteCallback()

__weak void HAL_CAN_TxMailbox0CompleteCallback ( CAN_HandleTypeDef hcan)

Transmission Mailbox 0 complete callback.

Parameters
hcanpointer to a CAN_HandleTypeDef structure that contains the configuration information for the specified CAN.
Return values
None

Definition at line 2106 of file stm32l4xx_hal_can.c.

2107 {
2108  /* Prevent unused argument(s) compilation warning */
2109  UNUSED(hcan);
2110 
2111  /* NOTE : This function Should not be modified, when the callback is needed,
2112  the HAL_CAN_TxMailbox0CompleteCallback could be implemented in the
2113  user file
2114  */
2115 }

◆ HAL_CAN_TxMailbox1AbortCallback()

__weak void HAL_CAN_TxMailbox1AbortCallback ( CAN_HandleTypeDef hcan)

Transmission Mailbox 1 Cancellation callback.

Parameters
hcanpointer to an CAN_HandleTypeDef structure that contains the configuration information for the specified CAN.
Return values
None

Definition at line 2174 of file stm32l4xx_hal_can.c.

2175 {
2176  /* Prevent unused argument(s) compilation warning */
2177  UNUSED(hcan);
2178 
2179  /* NOTE : This function Should not be modified, when the callback is needed,
2180  the HAL_CAN_TxMailbox1AbortCallback could be implemented in the
2181  user file
2182  */
2183 }

◆ HAL_CAN_TxMailbox1CompleteCallback()

__weak void HAL_CAN_TxMailbox1CompleteCallback ( CAN_HandleTypeDef hcan)

Transmission Mailbox 1 complete callback.

Parameters
hcanpointer to a CAN_HandleTypeDef structure that contains the configuration information for the specified CAN.
Return values
None

Definition at line 2123 of file stm32l4xx_hal_can.c.

2124 {
2125  /* Prevent unused argument(s) compilation warning */
2126  UNUSED(hcan);
2127 
2128  /* NOTE : This function Should not be modified, when the callback is needed,
2129  the HAL_CAN_TxMailbox1CompleteCallback could be implemented in the
2130  user file
2131  */
2132 }

◆ HAL_CAN_TxMailbox2AbortCallback()

__weak void HAL_CAN_TxMailbox2AbortCallback ( CAN_HandleTypeDef hcan)

Transmission Mailbox 2 Cancellation callback.

Parameters
hcanpointer to an CAN_HandleTypeDef structure that contains the configuration information for the specified CAN.
Return values
None

Definition at line 2191 of file stm32l4xx_hal_can.c.

2192 {
2193  /* Prevent unused argument(s) compilation warning */
2194  UNUSED(hcan);
2195 
2196  /* NOTE : This function Should not be modified, when the callback is needed,
2197  the HAL_CAN_TxMailbox2AbortCallback could be implemented in the
2198  user file
2199  */
2200 }

◆ HAL_CAN_TxMailbox2CompleteCallback()

__weak void HAL_CAN_TxMailbox2CompleteCallback ( CAN_HandleTypeDef hcan)

Transmission Mailbox 2 complete callback.

Parameters
hcanpointer to a CAN_HandleTypeDef structure that contains the configuration information for the specified CAN.
Return values
None

Definition at line 2140 of file stm32l4xx_hal_can.c.

2141 {
2142  /* Prevent unused argument(s) compilation warning */
2143  UNUSED(hcan);
2144 
2145  /* NOTE : This function Should not be modified, when the callback is needed,
2146  the HAL_CAN_TxMailbox2CompleteCallback could be implemented in the
2147  user file
2148  */
2149 }

◆ HAL_CAN_WakeUpFromRxMsgCallback()

__weak void HAL_CAN_WakeUpFromRxMsgCallback ( CAN_HandleTypeDef hcan)

WakeUp from Rx message callback.

Parameters
hcanpointer to a CAN_HandleTypeDef structure that contains the configuration information for the specified CAN.
Return values
None

Definition at line 2292 of file stm32l4xx_hal_can.c.

2293 {
2294  /* Prevent unused argument(s) compilation warning */
2295  UNUSED(hcan);
2296 
2297  /* NOTE : This function Should not be modified, when the callback is needed,
2298  the HAL_CAN_WakeUpFromRxMsgCallback could be implemented in the
2299  user file
2300  */
2301 }