26 lines
546 B
C
26 lines
546 B
C
#ifndef __HW_FLAGS_H
|
|
#define __HW_FLAGS_H
|
|
|
|
#define UART_EV_TX 0x1
|
|
#define UART_EV_RX 0x2
|
|
|
|
#define DFII_CONTROL_SEL 0x01
|
|
#define DFII_CONTROL_CKE 0x02
|
|
|
|
#define DFII_COMMAND_CS 0x01
|
|
#define DFII_COMMAND_WE 0x02
|
|
#define DFII_COMMAND_CAS 0x04
|
|
#define DFII_COMMAND_RAS 0x08
|
|
#define DFII_COMMAND_WRDATA 0x10
|
|
#define DFII_COMMAND_RDDATA 0x20
|
|
|
|
#define MINIMAC_EV_RX0 0x1
|
|
#define MINIMAC_EV_RX1 0x2
|
|
#define MINIMAC_EV_TX 0x4
|
|
|
|
#define CLKGEN_STATUS_BUSY 0x1
|
|
#define CLKGEN_STATUS_PROGDONE 0x2
|
|
#define CLKGEN_STATUS_LOCKED 0x4
|
|
|
|
#endif /* __HW_FLAGS_H */
|