| NUC472_NUC442_BSP V3.04.000 The Board Support Package for NUC472/NUC442

Functions
can.c File Reference

NUC472/NUC442 CAN driver source file. More...

`#include "NUC472_442.h"`
`#include <stdio.h>`
Include dependency graph for can.c:

Go to the source code of this file.

## Functions
uint32_t | CAN_SetBaudRate (CAN_T *tCAN, uint32_t u32BaudRate)
| The function is used to set bus timing parameter according current clock and target baud-rate. More...
void | CAN_Close (CAN_T *tCAN)
| The function is used to disable all CAN interrupt. More...
uint32_t | CAN_Open (CAN_T *tCAN, uint32_t u32BaudRate, uint32_t u32Mode)
| The function is sets bus timing parameter according current clock and target baud-rate. And set CAN operation mode. More...
int32_t | CAN_SetTxMsg (CAN_T *tCAN, uint32_t u32MsgNum, STR_CANMSG_T *pCanMsg)
| The function is used to configure a transmit object. More...
int32_t | CAN_TriggerTxMsg (CAN_T *tCAN, uint32_t u32MsgNum)
| Set transmit request bit. More...
void | CAN_EnableInt (CAN_T *tCAN, uint32_t u32Mask)
| Enable CAN interrupt. More...
void | CAN_DisableInt (CAN_T *tCAN, uint32_t u32Mask)
| Disable CAN interrupt. More...
int32_t | CAN_SetRxMsg (CAN_T *tCAN, uint32_t u32MsgNum, uint32_t u32IDType, uint32_t u32ID)
| The function is used to configure a receive message object. More...
int32_t | CAN_SetMultiRxMsg (CAN_T *tCAN, uint32_t u32MsgNum, uint32_t u32MsgCount, uint32_t u32IDType, uint32_t u32ID)
| The function is used to configure several receive message objects. More...
int32_t | CAN_Transmit (CAN_T *tCAN, uint32_t u32MsgNum, STR_CANMSG_T *pCanMsg)
| Send CAN message. More...
int32_t | CAN_Receive (CAN_T *tCAN, uint32_t u32MsgNum, STR_CANMSG_T *pCanMsg)
| Gets the message, if received. More...
void | CAN_CLR_INT_PENDING_BIT (CAN_T *tCAN, uint8_t u32MsgNum)
| Clear interrupt pending bit. More...

## Detailed Description

NUC472/NUC442 CAN driver source file.

Version
  V1.00

Revision
  15

Date
  15/11/26 10:40a

Note
  SPDX-License-Identifier: Apache-2.0 Copyright (C) 2013 Nuvoton Technology Corp. All rights reserved.

Definition in file can.c.