Changeset a1f514f in rtems for c/src/libchip/rtc/rtc.h


Ignore:
Timestamp:
Jul 28, 1998, 11:03:40 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
9968efb
Parents:
009c235
Message:

First cut implementation of real-time clock support in libchip. This
version compiles cleanly but there is not a BSP with a configuration
table to utilize it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/rtc/rtc.h

    r009c235 ra1f514f  
    2121 */
    2222
    23 typedef unsigned8 (*getRegister_f)(unsigned32 port, unsigned8 register);
    24 typedef void      (*setRegister_f)(
    25                             unsigned32 port, unsigned8 reg, unsigned8 value);
    26 typedef unsigned8 (*getData_f)(unsigned32 port);
    27 typedef void      (*setData_f)(unsigned32 port, unsigned8 value);
     23typedef unsigned32 (*getRegister_f)(unsigned32 port, unsigned8 register);
     24typedef void       (*setRegister_f)(
     25                            unsigned32 port, unsigned8 reg, unsigned32 value);
    2826
    2927typedef struct _rtc_fns {
     
    8078extern unsigned long  RTC_Port_Count;
    8179
     80
     81boolean rtc_probe( int minor );
     82
    8283#endif
    8384/* end of include file */
Note: See TracChangeset for help on using the changeset viewer.