// HT45F33.h
//	This file contains the definition of registers for
//		Holtek HT45F23 microcontroller.
//	Do not modify manually.

#ifndef _HOLTEK_H_
#define _HOLTEK_H_


unsigned char _iar0	@0x00;
unsigned char _mp0	@0x01;
unsigned char _iar1	@0x02;
unsigned char _mp1	@0x03;
unsigned char _bp	@0x04;
unsigned char _acc	@0x05;
unsigned char _pcl	@0x06;
unsigned char _tblp	@0x07;
unsigned char _tblh	@0x08;
unsigned char _tbc	@0x09;
unsigned char _status	@0x0a;
unsigned char _intc0	@0x0b;
unsigned char _tbhp  	@0x0c;
unsigned char _tmr0	@0x0d;
unsigned char _tmr0c	@0x0e;
unsigned char _tmr1h	@0x0f;
unsigned char _tmr1l	@0x10;
unsigned char _tmr1c	@0x11;
unsigned char _pa	@0x12;
unsigned char _pac	@0x13;
unsigned char _pb	@0x14;
unsigned char _pbc	@0x15;
unsigned char _pc	@0x16;
unsigned char _pcc	@0x17;
unsigned char _lvdc	@0x18;
unsigned char _dactrl	@0x19;
unsigned char _pwm0	@0x1a;
unsigned char _pwm1	@0x1b;
unsigned char _bpctl	@0x1c;
unsigned char _wdtc	@0x1d;
unsigned char _intc1	@0x1e;
unsigned char _opa1c0	@0x1f;
unsigned char _opa1c1	@0x20;
unsigned char _opa2c0	@0x21;
unsigned char _opa2c1	@0x22;
unsigned char _opa2c2	@0x23;
unsigned char _adrl	@0x24;
unsigned char _adrh	@0x25;
unsigned char _adcr	@0x26;
unsigned char _acsr	@0x27;
unsigned char _smod	@0x28;
unsigned char _pawu	@0x29;
unsigned char _papu	@0x2a;
unsigned char _pbpu	@0x2b;
unsigned char _pcpu	@0x2c;
unsigned char _adpcr	@0x2d;
unsigned char _intedge	@0x2e;
unsigned char _cmp1c0	@0x2f;
unsigned char _cmp1c1	@0x30;
unsigned char _cmp2c0	@0x31;
unsigned char _cmp2c1	@0x32;
unsigned char _misc	@0x33;
unsigned char _mfic0	@0x34;
unsigned char _mfic1	@0x35;
unsigned char _simc0	@0x36;
unsigned char _simc1	@0x37;
unsigned char _simd	@0x38;
unsigned char _sima	@0x39;
unsigned char _simc2	@0x39;
unsigned char _eea	@0x3a;
unsigned char _eed	@0x3b;
unsigned char _lcdc	@0x3c;
unsigned char _ldoc	@0x3d;
unsigned char _dal	@0x3e;
unsigned char _dah	@0x3f;

#define _eec    _0140

#define _pd    _0141
#define _pdc    _0142
#define _pdpu    _0143


#define _dmbp0	_04_0
#define _tb00	_09_0
#define _tb01	_09_1
#define _tb02	_09_2
#define _lxtlp	_09_3
#define _tb10	_09_4
#define _tb11	_09_5
#define _tbck	_09_6
#define _tbon	_09_7
#define _c	_0a_0
#define _ac	_0a_1
#define _z	_0a_2
#define _ov	_0a_3
#define _pdf	_0a_4
#define _to	_0a_5
#define _emi	_0b_0
#define _eei0	_0b_1
#define _eei1	_0b_2
#define _et0i	_0b_3
#define _eif0	_0b_4
#define _eif1	_0b_5
#define _t0f	_0b_6
#define _topsc0	_0e_0
#define _topsc1	_0e_1
#define _topsc2	_0e_2
#define _t0e	_0e_3
#define _t0on	_0e_4
#define _t0m0	_0e_6
#define _t0m1	_0e_7
#define _t1e	_11_3
#define _t1on	_11_4
#define _t1s	_11_5
#define _t1m0	_11_6
#define _t1m1	_11_7
#define _vlvd0	_18_0
#define _vlvd1	_18_1
#define _vlvd2	_18_2
#define _lvden	_18_4
#define _lvdo	_18_5
#define _dacen	_19_0
#define _vol0	_19_5
#define _vol1	_19_6
#define _vol2	_19_7
#define _bz0	_1c_0
#define _bz1	_1c_1
#define _bz2	_1c_2
#define _bc0	_1c_3
#define _bc1	_1c_4
#define _pwm0en	_1c_5
#define _pwm1en	_1c_6
#define _pmode	_1c_7
#define _wdten0	_1d_0
#define _wdten1	_1d_1
#define _wdten2	_1d_2
#define _wdten3	_1d_3
#define _ws0	_1d_4
#define _ws1	_1d_5
#define _ws2	_1d_6
#define _fsyson	_1d_7
#define _et1i	_1e_0
#define _esim	_1e_1
#define _emfi	_1e_2
#define _t1f	_1e_4
#define _simf	_1e_5
#define _mff	_1e_6

#define _a1x	_1f_7
#define _a1en	_20_0
#define _a1oen	_20_1
#define _a1ns	_20_2
#define _a1ps	_20_3
#define _a1psel0	_20_4
#define _a1psel1	_20_5
#define _a1o2n	_20_6
#define _a1o2cin	_20_7

#define _a2x	_21_7
#define _a2en	_22_0
#define _a2oen	_22_1
#define _a2ns	_22_2
#define _a2ps	_22_3
#define _a2psel0	_22_4
#define _a2psel1	_22_5
#define _a2o2n	_22_6
#define _a2o2cin	_22_7
#define _pga0	_23_0
#define _pga1	_23_1
#define _pga2	_23_2
#define _pgaen	_23_3
#define _a1o2a2p	_23_6
#define _a1o2a2n	_23_7
#define _acs0	_26_0
#define _acs1	_26_1
#define _acs2	_26_2
#define _eocb	_26_6
#define _start	_26_7
#define _adcs0	_27_0
#define _adcs1	_27_1
#define _adcs2	_27_2
#define _vrsel	_27_5
#define _adonb	_27_6
#define _hlclk	_28_0
#define _idlen	_28_1
#define _hto	_28_2
#define _lto	_28_3
#define _fsten	_28_4
#define _cks0	_28_5
#define _cks1	_28_6
#define _cks2	_28_7
#define _pcr0	_2d_0
#define _pcr1	_2d_1
#define _pcr2	_2d_2
#define _pcr3	_2d_3
#define _pcr4	_2d_4
#define _pcr5	_2d_5
#define _int0s0	_2e_0
#define _int0s1	_2e_1
#define _int1s0	_2e_2
#define _int1s1	_2e_3
#define _ciof0	_2f_0
#define _c1of1	_2f_1
#define _c1of2	_2f_2
#define _c1of3	_2f_3
#define _c1of4	_2f_4
#define _c1rs	_2f_5
#define _c1ofm	_2f_6
#define _cmp1x	_2f_7
#define _cmp1en	_30_0
#define _c1nsel	_30_1
#define _c1outen	_30_2
#define _c1inten	_30_3
#define _cnpsel	_30_7
#define _c2of0	_31_0
#define _c2of1	_31_1
#define _c2of2	_31_2
#define _c2of3	_31_3
#define _c2of4	_31_4
#define _c2rs	_31_5
#define _c2ofm	_31_6
#define _cmp2x	_31_7
#define _cmp2en	_32_0
#define _c2psel	_32_1
#define _c2outen	_32_2
#define _c2inten	_32_3
#define _cmpes0	_32_6
#define _cmpes1	_32_7
#define _pfden	_33_0
#define _pfdsel	_33_1
#define _ode0	_33_4
#define _ode1	_33_5
#define _ode2	_33_6
#define _ode3	_33_7
#define _eadi	_34_0
#define _tb0e	_34_1
#define _tb1e	_34_2
#define _epi	_34_3
#define _adf	_34_4
#define _tb0f	_34_5
#define _tb1f	_34_6
#define _pef	_34_7
#define _eci	_35_0
#define _ee2i	_35_1
#define _elvdi	_35_2
#define _cf	_35_4
#define _e2f	_35_5
#define _lvdf	_35_6
#define _simen	_36_1
#define _pckp0	_36_2
#define _pckp1	_36_3
#define _pcken	_36_4
#define _sim0	_36_5
#define _sim1	_36_6
#define _sim2	_36_7
#define _rxak	_37_0
#define _iamwu	_37_1
#define _srw	_37_2
#define _txak	_37_3
#define _htx	_37_4
#define _hbb	_37_5
#define _haas	_37_6
#define _hcf	_37_7
#define _iica0	_39_1
#define _iica1	_39_2
#define _iica2	_39_3
#define _iica3	_39_4
#define _iica4	_39_5
#define _iica5	_39_6
#define _iica6	_39_7
#define _trf	_39_0
#define _wcol	_39_1
#define _csen	_39_2
#define _mls	_39_3
#define _ckeg	_39_4
#define _ckpolb	_39_5
#define _com0en	_3c_0
#define _com1en	_3c_1
#define _com2en	_3c_2
#define _com3en	_3c_3
#define _lcden	_3c_4
#define _isel	_3c_5
#define _lcdbuf	_3c_6
#define _ldoen	_3d_0
#define _vsel	_3d_1
#define _vres	_3d_2
#define _ren1	_3d_3
#define _vloe	_3d_4
#endif
