Changeset dfb16ce in rtems


Ignore:
Timestamp:
Jul 25, 1998, 4:20:33 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
db29826d
Parents:
04c5ac7
Message:

Added constants for z85c30_enable_interrupts.

Location:
c/src
Files:
2 edited

Legend:

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

    r04c5ac7 rdfb16ce  
    9696
    9797#define SCC_WR1_EXT_INT_EN  0x01
    98 #define SCC_WR1_TX_INT_EN 0x02
    99 #define SCC_WR1_PARITY    0x04
     98#define SCC_WR1_TX_INT_EN   0x02
     99#define SCC_WR1_PARITY      0x04
    100100#define SCC_WR1_RX_INT_DIS  0x00
    101101#define SCC_WR1_RX_INT_FIR  0x08
     
    103103#define SCC_WR1_RX_INT_SPE  0x18
    104104#define SCC_WR1_RDMA_RECTR  0x20
    105 #define SCC_WR1_RDMA_FUNC 0x40
    106 #define SCC_WR1_RDMA_EN   0x80
     105#define SCC_WR1_RDMA_FUNC   0x40
     106#define SCC_WR1_RDMA_EN     0x80
     107
     108#define SCC_ENABLE_ALL_INTR \
     109    (SCC_WR1_EXT_INT_EN | SCC_WR1_TX_INT_EN | SCC_WR1_INT_ALL_RX)
     110
     111#define SCC_DISABLE_ALL_INTR 0x00
     112
     113#define SCC_ENABLE_ALL_INTR_EXCEPT_TX \
     114    (SCC_WR1_EXT_INT_EN | SCC_WR1_INT_ALL_RX)
    107115
    108116/* bit values for write register 3 */
     
    375383Z85C30_STATIC void z85c30_initialize_interrupts(int minor);
    376384
    377 Z85C30_STATIC int z85c30_flush(int major, int minor, void *arg);
    378 
    379385Z85C30_STATIC int z85c30_write_support_int(
    380386  int   minor,
     
    393399);
    394400
     401Z85C30_STATIC void z85c30_enable_interrupts(
     402  int minor,
     403  int interrupt_mask
     404);
     405
    395406#ifdef __cplusplus
    396407}
  • c/src/libchip/serial/z85c30_p.h

    r04c5ac7 rdfb16ce  
    9696
    9797#define SCC_WR1_EXT_INT_EN  0x01
    98 #define SCC_WR1_TX_INT_EN 0x02
    99 #define SCC_WR1_PARITY    0x04
     98#define SCC_WR1_TX_INT_EN   0x02
     99#define SCC_WR1_PARITY      0x04
    100100#define SCC_WR1_RX_INT_DIS  0x00
    101101#define SCC_WR1_RX_INT_FIR  0x08
     
    103103#define SCC_WR1_RX_INT_SPE  0x18
    104104#define SCC_WR1_RDMA_RECTR  0x20
    105 #define SCC_WR1_RDMA_FUNC 0x40
    106 #define SCC_WR1_RDMA_EN   0x80
     105#define SCC_WR1_RDMA_FUNC   0x40
     106#define SCC_WR1_RDMA_EN     0x80
     107
     108#define SCC_ENABLE_ALL_INTR \
     109    (SCC_WR1_EXT_INT_EN | SCC_WR1_TX_INT_EN | SCC_WR1_INT_ALL_RX)
     110
     111#define SCC_DISABLE_ALL_INTR 0x00
     112
     113#define SCC_ENABLE_ALL_INTR_EXCEPT_TX \
     114    (SCC_WR1_EXT_INT_EN | SCC_WR1_INT_ALL_RX)
    107115
    108116/* bit values for write register 3 */
     
    375383Z85C30_STATIC void z85c30_initialize_interrupts(int minor);
    376384
    377 Z85C30_STATIC int z85c30_flush(int major, int minor, void *arg);
    378 
    379385Z85C30_STATIC int z85c30_write_support_int(
    380386  int   minor,
     
    393399);
    394400
     401Z85C30_STATIC void z85c30_enable_interrupts(
     402  int minor,
     403  int interrupt_mask
     404);
     405
    395406#ifdef __cplusplus
    396407}
Note: See TracChangeset for help on using the changeset viewer.