Ignore:
Timestamp:
Jul 15, 1998, 11:54:08 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
8414c033
Parents:
991a1ab4
Message:

Added default mc68681 register access routines.

File:
1 edited

Legend:

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

    r991a1ab4 rcce9322  
    6868 */
    6969
    70 unsigned8 mc68681_default_read_register(
    71   unsigned32  ulCtrlPort,
     70unsigned8 mc68681_get_register(     /* registers are at 1 byte boundaries */
     71  unsigned32  ulCtrlPort,           /*   and accessed as bytes            */
    7272  unsigned8   ucRegNum
    7373);
    7474
    75 void  mc68681_default_write_register(
     75void  mc68681_set_register(
    7676  unsigned32  ulCtrlPort,
    7777  unsigned8   ucRegNum,
     
    7979);
    8080
    81 unsigned8 mc68681_default_read_register_with_multiplier_2(
    82   unsigned32  ulCtrlPort,
     81unsigned8 mc68681_get_register_2(   /* registers are at 2 byte boundaries */
     82  unsigned32  ulCtrlPort,           /*   and accessed as bytes            */
    8383  unsigned8   ucRegNum
    8484);
    8585
    86 void  mc68681_default_write_register_with_multiplier_2(
     86void  mc68681_set_register_2(
    8787  unsigned32  ulCtrlPort,
    8888  unsigned8   ucRegNum,
     
    9090);
    9191
    92 unsigned8 mc68681_default_read_register_with_multiplier_4(
    93   unsigned32  ulCtrlPort,
     92unsigned8 mc68681_get_register_4(   /* registers are at 4 byte boundaries */
     93  unsigned32  ulCtrlPort,           /*   and accessed as bytes            */
    9494  unsigned8   ucRegNum
    9595);
    9696
    97 void  mc68681_default_write_register_with_multiplier_4(
     97void  mc68681_set_register_4(
    9898  unsigned32  ulCtrlPort,
    9999  unsigned8   ucRegNum,
     
    101101);
    102102
    103 unsigned8 mc68681_default_read_register_with_multiplier_8(
    104   unsigned32  ulCtrlPort,
     103unsigned8 mc68681_get_register_8(   /* registers are at 8 byte boundaries */
     104  unsigned32  ulCtrlPort,           /*   and accessed as bytes            */
    105105  unsigned8   ucRegNum
    106106);
    107107
    108 void  mc68681_default_write_register_with_multiplier_8(
     108void  mc68681_set_register_8(
    109109  unsigned32  ulCtrlPort,
    110110  unsigned8   ucRegNum,
Note: See TracChangeset for help on using the changeset viewer.