Commit 98233dbc authored by Guilherme Sanches's avatar Guilherme Sanches

Intermediary commit with work in progress on the occan.c file

parent e02c0860
* @file
* @ingroup can
* @brief Gaisler wrapper to OpenCores CAN - driver interface
/* Gaisler wrapper to OpenCores CAN, driver interface
* COPYRIGHT (c) 2007.
* Cobham Gaisler AB.
* Gaisler Research.
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* Author: Daniel Hellström, Gaisler Research AB,
#ifndef __OCCAN_DRIVER_H__
#define __OCCAN_DRIVER_H__
#ifndef __OCCAN_H__
#define __OCCAN_H__
#include <ambapp.h>
#ifdef __cplusplus
extern "C" {
......@@ -147,7 +147,7 @@ struct occan_afilter {
#define OCCAN_BLK_MODE_RX 0x1
#define OCCAN_BLK_MODE_TX 0x2
void occan_register_drv (void);
int occan_register(struct ambapp_bus *bus);
#define OCCAN_SPEED_500K 500000
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment