; Warning : this file is empty because we don't have documentation on 740 ; specific ports. ; ; Feel free to fill this file for your own usage, and please drop us a mail ; if you find any documentation on the 740 ports. ; ----------------------------------------------------------------------------- ; devices from http://www.mitsubishiusb.com/documents/536/architecture740.pdf .default 38000 ; ;.37451 P0 0xd0 P0 register P0_DIR 0xd1 P0 directional register P1 0xd2 P1 register P1_DIR 0xd3 P1 directional register P2 0xd4 P2 register P2_DIR 0xd5 P2 directional register P3 0xd6 P3 register P3_DIR 0xd7 P3 directional register P4_PWM 0xd8 P4 register/PWM prescaler latch ADD_FUNC 0xd9 Additional function register P5 0xda P5 register P5_DIR 0xdb P5 directional register P6 0xdc P6 register P6_DIR 0xdd P6 directional register MISRG1 0xde MISRG1 MISRG2 0xdf MISRG2 D2A1 0xe0 D-A1 register D2A2 0xe1 D-A2 register A2D 0xe2 A-D register A2D_CTRL 0xe3 A-D control register DB_BUFFER 0xe4 Data bus buffer register DB_STATUS 0xe5 Data bus buffer status register RX_TX_BUF 0xe6 Receive/Transmit buffer register SERIAL_STAT 0xe7 Serial I/O status register SERIAL_CTRL 0xe8 Serial I/O control register UART_CTRL 0xe9 UART control register BAUDRATE 0xea Baud rate generator PWM_LO 0xeb PWM register (low-order) PWM_HI 0xec PWN register (high-order) TMR1_CTRL 0xed Timer 1 control register TMR2_CTRL 0xee Timer 2 control register TMR3_CTRL 0xef Timer 3 control register TMR1_LO 0xf0 Timer 1 register (low-order) TMR1_HI 0xf1 Timer 1 register (high-order) TMR1_LCH_LO 0xf2 Timer 1 latch (low-order) TMR1_LCH_HI 0xf3 Timer 1 latch (high-order) TMR2_LO 0xf4 Timer 2 register (low-order) TMR2_HI 0xf5 Timer 2 register (high-order) TMR2_LCH_LO 0xf6 Timer 2 latch (low-order) TMR2_LCH_HI 0xf7 Timer 2 latch (high-order) TMR3_LO 0xf8 Timer 3 register (low-order) TMR3_HI 0xf9 Timer 3 register (high-order) TMR3_LCH_LO 0xfa Timer 3 latch (low-order) TMR3_LCH_HI 0xfb Timer 3 latch (high-order) INTREQ1 0xfc Interrupt request register 1 INTREQ2 0xfd Interrupt request register 2 INT_CTRL1 0xfe Interrupt control register 1 INT_CTRL2 0xff Interrupt control register 2 ; ;EX_37450 0x12 37450 only ; ;.37470 ; ;EX_37470 0x13 37470 only ; ;.37500 ; ;EX_37500 0x14 37500 only ; ;.Slim-740 ; ;EX_SLIM_740 0x15 SLIM-740 only .38000 ; m3804x courtesy of mrnobody (from hex-rays' forum) .3804x P0 0x00 P0 register P0D 0x01 P0 directional register P1 0x02 P1 register P1D 0x03 P1 directional register P2 0x04 P2 register P2D 0x05 P2 directional register P3 0x06 P3 register P3D 0x07 P3 directional register P4 0x08 P4 register P4D 0x09 P4 directional register P5 0x0a P5 register P5D 0x0b P5 directional register P6 0x0c P6 register P6D 0x0d P6 directional register T12XCSS 0x0e Timer 12, X count source selection register TYZCSS 0x0f Timer Y, Z count source selection register MISRG 0x10 MISGR S0 0x11 I2C data shift register S3 0x12 I2C special mode status register S1 0x13 I2C status register S1D 0x14 I2C control register S2 0x15 I2C clock control register S2D 0x16 I2C START/STOP condition control register S3D 0x17 I2C special mode control register TB1_RB1 0x18 Transmit/Receive buffer register 1 SIO1STS 0x19 Serial I/O1 status register SIO1CON 0x1a Serial I/O1 control register UART1CON 0x1b UART1 control register BRG1 0x1c Baud rate generator SIO2CON 0x1d Serial I/O2 control register WDTCON 0x1e Watchdog timer control register SIO2 0x1f Serial I/O2 register PRE12 0x20 Prescaler 12 T1 0x21 Timer 1 T2 0x22 Timer 2 TM 0x23 Timer XY mode register PREX 0x24 Prescaler X TX 0x25 Timer X PREY 0x26 Prescaler Y TY 0x27 Timer Y TZL 0x28 Timer Z low-order TZH 0x29 Timer Z high-order TZM 0x2a Timer Z mode register PWMCON 0x2b PWM control register PREPWM 0x2c PWM prescaler PWM 0x2d PWM register BRG3 0x2f Baud rate generator 3 TB3_RB3 0x30 Transmit/Receive buffer register 3 SIO3STS 0x31 Serial I/O3 status register SIO3CON 0x32 Serial I/O3 control register UART3CON 0x33 UART3 control register ADCON 0x34 AD/DA control register AD1 0x35 AD conversion register 1 DA1 0x36 DA1 conversion register DA2 0x37 DA2 conversion register AD2 0x38 AD conversion register 2 INTSEL 0x39 Interrupt source selection register INTEDGE 0x3a Interrupt edge selection register CPUM 0x3b CPU mode register IREQ1 0x3c Interrupt request register 1 IREQ2 0x3d Interrupt request register 2 ICON1 0x3e Interrupt control register 1 ICON2 0x3f Interrupt control register 2