source: rtems/c/src/lib/libbsp/sparc/shared/include/canmux.h @ e53daed

4.115
Last change on this file since e53daed was 3bb4122, checked in by Daniel Hellstrom <daniel@…>, on 02/23/15 at 12:02:39

LEON: added new drivers to the LEON2/LEON3 BSPs

Most drivers use the Driver Manager for device probing, they
work on AMBA-over-PCI systems if PCI is big-endian.

New APIs:

  • GPIO Library, interfaced to GRGPIO
  • GENIRQ, Generic interrupt service implementation helper

New GRLIB Drivers:

  • ACTEL 1553 RT, user interface is similar to 1553 BRM driver
  • GR1553 (1553 BC, RT and BM core)
  • AHBSTAT (AHB error status core)
  • GRADCDAC (Core interfacing to ADC/DAC hardware)
  • GRGPIO (GPIO port accessed from GPIO Library)
  • MCTRL (Memory controller settings configuration)
  • GRETH (10/100/1000 Ethernet driver using Driver manager)
  • GRPWM (Pulse Width Modulation core)
  • SPICTRL (SPI master interface)
  • GRSPW_ROUTER (SpaceWire? Router AMBA configuration interface)
  • GRCTM (SpaceCraft? on-board Time Management core)
  • SPWCUC (Time distribution over SpaceWire?)
  • GRTC (SpaceCraft? up-link Tele core)
  • GRTM (SpaceCraft? down-link Tele Metry core)

GR712RC ASIC specific interfaces:

  • GRASCS
  • CANMUX (select between OCCAN and SATCAN)
  • SATCAN
  • SLINK
  • Property mode set to 100644
File size: 602 bytes
Line 
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.com/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__ */
Note: See TracBrowser for help on using the repository browser.