26 #define MC68681_STATUS 1 27 #define MC68681_RX_BUFFER 3 29 #define MC68681_MODE 0 30 #define MC68681_CLOCK_SELECT 1 31 #define MC68681_COMMAND 2 32 #define MC68681_TX_BUFFER 3 41 #define MC68681_DATA_BAUD_RATE_SET_1 0 42 #define MC68681_DATA_BAUD_RATE_SET_2 1 44 #define MC68681_XBRG_IGNORED (0 << 1) 45 #define MC68681_XBRG_ENABLED (1 << 1) 46 #define MC68681_XBRG_DISABLED (2 << 1) 47 #define MC68681_XBRG_MASK (3 << 1) 53 typedef unsigned char mc68681_baud_t;
54 typedef mc68681_baud_t mc68681_baud_table_t[RTEMS_TERMIOS_NUMBER_BAUD_RATES];
56 #define MC68681_BAUD_NOT_VALID 0xFF 59 mc68681_baud_rate_table[4][RTEMS_TERMIOS_NUMBER_BAUD_RATES];
73 uint8_t mc68681_get_register(
78 void mc68681_set_register(
84 uint8_t mc68681_get_register_2(
89 void mc68681_set_register_2(
95 uint8_t mc68681_get_register_4(
100 void mc68681_set_register_4(
101 uintptr_t ulCtrlPort,
106 uint8_t mc68681_get_register_8(
107 uintptr_t ulCtrlPort,
111 void mc68681_set_register_8(
112 uintptr_t ulCtrlPort,