ESOS32
ESOSOn32-bitProcessors
Macros | Functions
esos_hwxxx_ecan.h File Reference

This file contains routines which define, configure and allow use of Controller Area Network (CAN) service on the target hardware (hwxxxx) More...

#include "esos.h"
#include "esos_hwxxx.h"
Include dependency graph for esos_hwxxx_ecan.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __ESOS_ECAN_HW_NUM_TX_BUFS   1
 
#define __ESOS_ECAN_HW_NUM_BUFS   8
 
#define __ESOS_ECAN_HW_ARE_MESSAGES_WAITING()   ( _DMA1IF )
 
#define __ESOS_ECAN_HW_GET_BUFFER_ID()   ( C1FIFO & 0x1F )
 
#define __ESOS_ECAN_HW_TX_IN_PROGRESS()   ( C1TR01CONbits.TXREQ0 )
 

Functions

void __esos_ecan_hw_config_ecan (void)
 
void __esos_ecan_hw_config_baud (void)
 
void __esos_ecan_hw_config_rxFilter ()
 
void __esos_ecan_hw_config_dma_tx (void)
 
void __esos_ecan_hw_config_dma_rx (void)
 
void __esos_ecan_hw_mark_message_received (uint16_t u16_rx_buff_id)
 
void __esos_ecan_hw_format_and_send (ECANMSG *p_temp_Msg, uint16_t u16_can_id, uint8_t u8_payload_len)
 

Detailed Description

This file contains routines which define, configure and allow use of Controller Area Network (CAN) service on the target hardware (hwxxxx)

Definition in file esos_hwxxx_ecan.h.