Changeset 49370cd in rtems


Ignore:
Timestamp:
Jul 15, 1998, 11:20:50 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
efaf85fa
Parents:
198d851
Message:

Added default mc68681 register access routines.

Location:
c/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libchip/serial/mc68681.h

    r198d851 r49370cd  
    6464extern console_fns mc68681_fns_polled;
    6565
     66/*
     67 * Default register access routines
     68 */
     69
     70unsigned8 mc68681_default_read_register(
     71  unsigned32  ulCtrlPort,
     72  unsigned8   ucRegNum
     73);
     74
     75void  mc68681_default_write_register(
     76  unsigned32  ulCtrlPort,
     77  unsigned8   ucRegNum,
     78  unsigned8   ucData
     79);
     80
     81unsigned8 mc68681_default_read_register_with_multiplier_2(
     82  unsigned32  ulCtrlPort,
     83  unsigned8   ucRegNum
     84);
     85
     86void  mc68681_default_write_register_with_multiplier_2(
     87  unsigned32  ulCtrlPort,
     88  unsigned8   ucRegNum,
     89  unsigned8   ucData
     90);
     91
     92unsigned8 mc68681_default_read_register_with_multiplier_4(
     93  unsigned32  ulCtrlPort,
     94  unsigned8   ucRegNum
     95);
     96
     97void  mc68681_default_write_register_with_multiplier_4(
     98  unsigned32  ulCtrlPort,
     99  unsigned8   ucRegNum,
     100  unsigned8   ucData
     101);
     102
     103unsigned8 mc68681_default_read_register_with_multiplier_8(
     104  unsigned32  ulCtrlPort,
     105  unsigned8   ucRegNum
     106);
     107
     108void  mc68681_default_write_register_with_multiplier_8(
     109  unsigned32  ulCtrlPort,
     110  unsigned8   ucRegNum,
     111  unsigned8   ucData
     112);
     113
     114
    66115#ifdef __cplusplus
    67116}
  • c/src/libchip/serial/mc68681.h

    r198d851 r49370cd  
    6464extern console_fns mc68681_fns_polled;
    6565
     66/*
     67 * Default register access routines
     68 */
     69
     70unsigned8 mc68681_default_read_register(
     71  unsigned32  ulCtrlPort,
     72  unsigned8   ucRegNum
     73);
     74
     75void  mc68681_default_write_register(
     76  unsigned32  ulCtrlPort,
     77  unsigned8   ucRegNum,
     78  unsigned8   ucData
     79);
     80
     81unsigned8 mc68681_default_read_register_with_multiplier_2(
     82  unsigned32  ulCtrlPort,
     83  unsigned8   ucRegNum
     84);
     85
     86void  mc68681_default_write_register_with_multiplier_2(
     87  unsigned32  ulCtrlPort,
     88  unsigned8   ucRegNum,
     89  unsigned8   ucData
     90);
     91
     92unsigned8 mc68681_default_read_register_with_multiplier_4(
     93  unsigned32  ulCtrlPort,
     94  unsigned8   ucRegNum
     95);
     96
     97void  mc68681_default_write_register_with_multiplier_4(
     98  unsigned32  ulCtrlPort,
     99  unsigned8   ucRegNum,
     100  unsigned8   ucData
     101);
     102
     103unsigned8 mc68681_default_read_register_with_multiplier_8(
     104  unsigned32  ulCtrlPort,
     105  unsigned8   ucRegNum
     106);
     107
     108void  mc68681_default_write_register_with_multiplier_8(
     109  unsigned32  ulCtrlPort,
     110  unsigned8   ucRegNum,
     111  unsigned8   ucData
     112);
     113
     114
    66115#ifdef __cplusplus
    67116}
Note: See TracChangeset for help on using the changeset viewer.