OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [HCS12_GCC_banked/] [sys/] [ports.h] - Blame information for rev 633

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 588 jeremybenn
/* sys/ports.h -- Definition of system ports
2
   Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
3
   Written by Stephane Carrez (stcarrez@worldnet.fr)
4
 
5
This file is part of GEL.
6
 
7
GEL is free software; you can redistribute it and/or modify
8
it under the terms of the GNU General Public License** as published by
9
the Free Software Foundation; either version 2, or (at your option)
10
any later version.
11
 
12
GEL is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
GNU General Public License for more details.
16
 
17
You should have received a copy of the GNU General Public License
18
along with GEL; see the file COPYING.  If not, write to
19
the Free Software Foundation, 59 Temple Place - Suite 330,
20
Boston, MA 02111-1307, USA.  */
21
 
22
#ifndef _SYS_PORTS_H
23
#define _SYS_PORTS_H
24
 
25
#ifdef __cplusplus
26
extern "C" {
27
#endif
28
 
29
  extern unsigned short get_timer_counter (void);
30
  extern void set_timer_counter (unsigned short);
31
  extern unsigned short get_input_capture_1 (void);
32
  extern void set_input_capture_1 (unsigned short);
33
  extern unsigned short get_input_capture_2 (void);
34
  extern void set_input_capture_2 (unsigned short);
35
  extern unsigned short get_input_capture_3 (void);
36
  extern void set_input_capture_3 (unsigned short);
37
  extern unsigned short get_output_compare_1 (void);
38
  extern void set_output_compare_1 (unsigned short);
39
  extern unsigned short get_output_compare_2 (void);
40
  extern void set_output_compare_2 (unsigned short);
41
  extern unsigned short get_output_compare_3 (void);
42
  extern void set_output_compare_3 (unsigned short);
43
  extern unsigned short get_output_compare_4 (void);
44
  extern void set_output_compare_4 (unsigned short);
45
  extern unsigned short get_output_compare_5 (void);
46
  extern void set_output_compare_5 (unsigned short);
47
  extern void set_bus_expanded (void);
48
  extern void set_bus_single_chip (void);
49
  extern void cop_reset (void);
50
  extern void cop_optional_reset (void);
51
  extern void timer_acknowledge (void);
52
  extern void timer_initialize_rate (unsigned char);
53
 
54
#ifdef mc6811
55
//# include <asm-m68hc11/ports.h>
56
#endif
57
 
58
#ifdef mc68hcs12
59
# include <asm-m68hcs12/ports.h>
60
#elif defined(mc6812)
61
//# include <asm-m68hc12/ports.h>
62
#endif
63
 
64
#ifdef __cplusplus
65
};
66
#endif
67
 
68
#endif /* _SYS_PORTS_H */
69
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.