summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/shared/include/grcan_rasta.h
blob: 193cb3683c275f2656c9c5c0879c5c5f9e89c98b (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
#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