41#ifndef _RTEMS_ZILOG_Z8036_H
42#define _RTEMS_ZILOG_Z8036_H
50#define Z8036( ptr ) ((volatile struct z8036_map *)(ptr))
52#define Z8x36_STATE0 ( z8036 ) \
56#define Z8x36_WRITE( z8036, reg, data ) \
57 (Z8036(z8036))->reg = (data)
60#define Z8x36_READ( z8036, reg, data ) \
61 (Z8036(z8036))->reg = (data)
71 uint8_t CNT_TMR_VECTOR;
72 uint8_t PORTC_DATA_POLARITY;
73 uint8_t PORTC_DIRECTION;
74 uint8_t PORTC_SPECIAL_IO_CTL;
76 uint8_t PORTA_CMD_STATUS;
77 uint8_t PORTB_CMD_STATUS;
78 uint8_t CT1_CMD_STATUS;
79 uint8_t CT2_CMD_STATUS;
80 uint8_t CT3_CMD_STATUS;
85 uint8_t CT1_CUR_CNT_MSB;
86 uint8_t CT1_CUR_CNT_LSB;
87 uint8_t CT2_CUR_CNT_MSB;
88 uint8_t CT2_CUR_CNT_LSB;
89 uint8_t CT3_CUR_CNT_MSB;
90 uint8_t CT3_CUR_CNT_LSB;
91 uint8_t CT1_TIME_CONST_MSB;
92 uint8_t CT1_TIME_CONST_LSB;
93 uint8_t CT2_TIME_CONST_MSB;
94 uint8_t CT2_TIME_CONST_LSB;
95 uint8_t CT3_TIME_CONST_MSB;
96 uint8_t CT3_TIME_CONST_LSB;
97 uint8_t CT1_MODE_SPEC;
98 uint8_t CT2_MODE_SPEC;
99 uint8_t CT3_MODE_SPEC;
100 uint8_t CURRENT_VECTOR;
103 uint8_t PORTA_HANDSHAKE;
104 uint8_t PORTA_DATA_POLARITY;
105 uint8_t PORTA_DIRECTION;
106 uint8_t PORTA_SPECIAL_IO_CTL;
107 uint8_t PORTA_PATT_POLARITY;
108 uint8_t PORTA_PATT_TRANS;
109 uint8_t PORTA_PATT_MASK;
112 uint8_t PORTB_HANDSHAKE;
113 uint8_t PORTB_DATA_POLARITY;
114 uint8_t PORTB_DIRECTION;
115 uint8_t PORTB_SPECIAL_IO_CTL;
116 uint8_t PORTB_PATT_POLARITY;
117 uint8_t PORTB_PATT_TRANS;
118 uint8_t PORTB_PATT_MASK;