RTEMS CPU Kit with SuperCore  4.11.3
clockdrv.h
Go to the documentation of this file.
1 
9 /*
10  * COPYRIGHT (c) 1989-2011.
11  * On-Line Applications Research Corporation (OAR).
12  *
13  * The license and distribution terms for this file may be
14  * found in the file LICENSE in this distribution or at
15  * http://www.rtems.org/license/LICENSE.
16  */
17 
18 #ifndef _RTEMS_CLOCKDRV_H
19 #define _RTEMS_CLOCKDRV_H
20 
21 #include <rtems/io.h> /* rtems_device_driver */
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 /* variables */
28 
29 extern volatile uint32_t Clock_driver_ticks;
30 
31 /* default clock driver entry */
32 
33 #define CLOCK_DRIVER_TABLE_ENTRY \
34  { Clock_initialize, NULL, NULL, NULL, NULL, NULL }
35 
36 rtems_device_driver Clock_initialize(
37  rtems_device_major_number,
38  rtems_device_minor_number,
39  void *
40 );
41 
42 void Clock_exit(void);
43 
44 #ifdef __cplusplus
45 }
46 #endif
47 
48 #endif
49 /* end of include file */
Classic Input/Output Manager API.
rtems_status_code
Classic API Status.
Definition: status.h:46