RTEMS: bsps/include/grlib/canmux.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
canmux.h
1/*
2 * Header file for RTEMS CAN_MUX driver
3 *
4 * COPYRIGHT (c) 2008.
5 * Cobham Gaisler AB.
6 *
7 * The license and distribution terms for this file may be
8 * found in the file LICENSE in this distribution or at
9 * http://www.rtems.org/license/LICENSE.
10 */
11
12#ifndef __CANMUX_H__
13#define __CANMUX_H__
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19/* Driver interface */
20int canmux_register(void);
21
22/* ioctl calls */
23#define CANMUX_IOC_BUSA_SATCAN 1
24#define CANMUX_IOC_BUSA_OCCAN1 2
25#define CANMUX_IOC_BUSB_SATCAN 3
26#define CANMUX_IOC_BUSB_OCCAN2 4
27
28#ifdef __cplusplus
29}
30#endif
31
32#endif /* __CANMUX_H__ */