source: rtems/cpukit/include/rtems/clockdrv.h @ a6b2080

5
Last change on this file since a6b2080 was a6b2080, checked in by Sebastian Huber <sebastian.huber@…>, on 12/05/19 at 14:51:17

clock: Remove Clock_exit() from API

This function is no longer supported by the standard clock driver
implementation (clockimpl.h).

Update #3436.

  • Property mode set to 100644
File size: 871 bytes
Line 
1/**
2 * @file
3 *
4 * @brief Clock Driver for all Boards
5 *
6 * This file describes the Clock Driver for all boards.
7 */
8
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
24extern "C" {
25#endif
26
27/* variables */
28
29extern 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
36rtems_device_driver Clock_initialize(
37  rtems_device_major_number,
38  rtems_device_minor_number,
39  void *
40);
41
42#ifdef __cplusplus
43}
44#endif
45
46#endif
47/* end of include file */
Note: See TracBrowser for help on using the repository browser.