Added constants for z85c30_enable_interrupts.

This commit is contained in:
Joel Sherrill
1998-07-25 16:20:33 +00:00
parent 04c5ac7112
commit dfb16ce24d
2 changed files with 34 additions and 12 deletions

View File

@@ -105,6 +105,14 @@ extern "C" {
#define SCC_WR1_RDMA_FUNC 0x40
#define SCC_WR1_RDMA_EN 0x80
#define SCC_ENABLE_ALL_INTR \
(SCC_WR1_EXT_INT_EN | SCC_WR1_TX_INT_EN | SCC_WR1_INT_ALL_RX)
#define SCC_DISABLE_ALL_INTR 0x00
#define SCC_ENABLE_ALL_INTR_EXCEPT_TX \
(SCC_WR1_EXT_INT_EN | SCC_WR1_INT_ALL_RX)
/* bit values for write register 3 */
/* receive parameters and control */
@@ -374,8 +382,6 @@ Z85C30_STATIC int z85c30_negate_DTR(
Z85C30_STATIC void z85c30_initialize_interrupts(int minor);
Z85C30_STATIC int z85c30_flush(int major, int minor, void *arg);
Z85C30_STATIC int z85c30_write_support_int(
int minor,
const char *buf,
@@ -392,6 +398,11 @@ Z85C30_STATIC int z85c30_inbyte_nonblocking_polled(
int minor
);
Z85C30_STATIC void z85c30_enable_interrupts(
int minor,
int interrupt_mask
);
#ifdef __cplusplus
}
#endif

View File

@@ -105,6 +105,14 @@ extern "C" {
#define SCC_WR1_RDMA_FUNC 0x40
#define SCC_WR1_RDMA_EN 0x80
#define SCC_ENABLE_ALL_INTR \
(SCC_WR1_EXT_INT_EN | SCC_WR1_TX_INT_EN | SCC_WR1_INT_ALL_RX)
#define SCC_DISABLE_ALL_INTR 0x00
#define SCC_ENABLE_ALL_INTR_EXCEPT_TX \
(SCC_WR1_EXT_INT_EN | SCC_WR1_INT_ALL_RX)
/* bit values for write register 3 */
/* receive parameters and control */
@@ -374,8 +382,6 @@ Z85C30_STATIC int z85c30_negate_DTR(
Z85C30_STATIC void z85c30_initialize_interrupts(int minor);
Z85C30_STATIC int z85c30_flush(int major, int minor, void *arg);
Z85C30_STATIC int z85c30_write_support_int(
int minor,
const char *buf,
@@ -392,6 +398,11 @@ Z85C30_STATIC int z85c30_inbyte_nonblocking_polled(
int minor
);
Z85C30_STATIC void z85c30_enable_interrupts(
int minor,
int interrupt_mask
);
#ifdef __cplusplus
}
#endif