Changeset 8414c033 in rtems


Ignore:
Timestamp:
Jul 15, 1998, 11:54:24 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
670d037
Parents:
cce9322
Message:

Added default z85c30 register access routines.

Location:
c/src
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libchip/serial/Makefile.in

    rcce9322 r8414c033  
    1313
    1414C_PIECES=mc68681 mc68681_reg mc68681_reg2 mc68681_reg4 mc68681_reg8 \
    15     ns16550 z85c30 \
     15    ns16550 \
     16    z85c30 z85c30_reg \
    1617    serprobe termios_baud2index termios_baud2num
    1718
  • c/src/lib/libchip/serial/z85c30.h

    rcce9322 r8414c033  
    4848extern console_flow z85c30_flow_DTRCTS;
    4949
     50/*
     51 * Default register access routines
     52 */
     53
     54unsigned8 z85c30_get_register(   /* registers are byte-wide */
     55  unsigned32  ulCtrlPort,
     56  unsigned8   ucRegNum
     57);
     58
     59void z85c30_set_register(
     60  unsigned32  ulCtrlPort,
     61  unsigned8   ucRegNum,
     62  unsigned8   ucData
     63);
     64
     65unsigned8 z85c30_get_data(
     66  unsigned32  ulDataPort
     67);
     68
     69void z85c30_set_data(
     70  unsigned32  ulDataPort,
     71  unsigned8   ucData
     72);
     73
    5074#ifdef __cplusplus
    5175}
  • c/src/libchip/serial/Makefile.in

    rcce9322 r8414c033  
    1313
    1414C_PIECES=mc68681 mc68681_reg mc68681_reg2 mc68681_reg4 mc68681_reg8 \
    15     ns16550 z85c30 \
     15    ns16550 \
     16    z85c30 z85c30_reg \
    1617    serprobe termios_baud2index termios_baud2num
    1718
  • c/src/libchip/serial/z85c30.h

    rcce9322 r8414c033  
    4848extern console_flow z85c30_flow_DTRCTS;
    4949
     50/*
     51 * Default register access routines
     52 */
     53
     54unsigned8 z85c30_get_register(   /* registers are byte-wide */
     55  unsigned32  ulCtrlPort,
     56  unsigned8   ucRegNum
     57);
     58
     59void z85c30_set_register(
     60  unsigned32  ulCtrlPort,
     61  unsigned8   ucRegNum,
     62  unsigned8   ucData
     63);
     64
     65unsigned8 z85c30_get_data(
     66  unsigned32  ulDataPort
     67);
     68
     69void z85c30_set_data(
     70  unsigned32  ulDataPort,
     71  unsigned8   ucData
     72);
     73
    5074#ifdef __cplusplus
    5175}
Note: See TracChangeset for help on using the changeset viewer.