forked from Imagelibrary/rtems
Added constants for z85c30_enable_interrupts.
This commit is contained in:
@@ -105,6 +105,14 @@ extern "C" {
|
|||||||
#define SCC_WR1_RDMA_FUNC 0x40
|
#define SCC_WR1_RDMA_FUNC 0x40
|
||||||
#define SCC_WR1_RDMA_EN 0x80
|
#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 */
|
/* bit values for write register 3 */
|
||||||
/* receive parameters and control */
|
/* receive parameters and control */
|
||||||
|
|
||||||
@@ -374,8 +382,6 @@ Z85C30_STATIC int z85c30_negate_DTR(
|
|||||||
|
|
||||||
Z85C30_STATIC void z85c30_initialize_interrupts(int minor);
|
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(
|
Z85C30_STATIC int z85c30_write_support_int(
|
||||||
int minor,
|
int minor,
|
||||||
const char *buf,
|
const char *buf,
|
||||||
@@ -392,6 +398,11 @@ Z85C30_STATIC int z85c30_inbyte_nonblocking_polled(
|
|||||||
int minor
|
int minor
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Z85C30_STATIC void z85c30_enable_interrupts(
|
||||||
|
int minor,
|
||||||
|
int interrupt_mask
|
||||||
|
);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -105,6 +105,14 @@ extern "C" {
|
|||||||
#define SCC_WR1_RDMA_FUNC 0x40
|
#define SCC_WR1_RDMA_FUNC 0x40
|
||||||
#define SCC_WR1_RDMA_EN 0x80
|
#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 */
|
/* bit values for write register 3 */
|
||||||
/* receive parameters and control */
|
/* receive parameters and control */
|
||||||
|
|
||||||
@@ -374,8 +382,6 @@ Z85C30_STATIC int z85c30_negate_DTR(
|
|||||||
|
|
||||||
Z85C30_STATIC void z85c30_initialize_interrupts(int minor);
|
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(
|
Z85C30_STATIC int z85c30_write_support_int(
|
||||||
int minor,
|
int minor,
|
||||||
const char *buf,
|
const char *buf,
|
||||||
@@ -392,6 +398,11 @@ Z85C30_STATIC int z85c30_inbyte_nonblocking_polled(
|
|||||||
int minor
|
int minor
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Z85C30_STATIC void z85c30_enable_interrupts(
|
||||||
|
int minor,
|
||||||
|
int interrupt_mask
|
||||||
|
);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user