blob: dd5ef9518d8963458a89d902134fa9717b3523a0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/**
* @file
* @ingroup can
* @brief Registers the GRCAN for RASTA
*/
#ifndef __GRCAN_RASTA_H__
#define __GRCAN_RASTA_H__
#include <grcan.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Registers the GRCAN for RASTA
*
* rambase is address of the first GRCAN core has it's TX buffer, followed by
* it's RX buffer
*/
int grcan_rasta_ram_register(struct ambapp_bus *abus, int rambase);
extern void (*grcan_rasta_int_reg)(void *handler, int irq, void *arg);
#ifdef __cplusplus
}
#endif
#endif
|