Final tweaks for v4.5
[SCSI2SD-V6.git] / software / SCSI2SD / v4 / SCSI2SD.cydsn / Generated_Source / PSoC5 / cyfitterrv.inc
index c885f73..c639021 100755 (executable)
@@ -4,6 +4,7 @@ INCLUDED_CYFITTERRV_INC EQU 1
     GET cydevicerv_trm.inc\r
 \r
 ; LED1\r
+LED1__0__INTTYPE EQU CYREG_PICU0_INTTYPE1\r
 LED1__0__MASK EQU 0x02\r
 LED1__0__PC EQU CYREG_PRT0_PC1\r
 LED1__0__PORT EQU 0\r
@@ -19,6 +20,7 @@ LED1__DM1 EQU CYREG_PRT0_DM1
 LED1__DM2 EQU CYREG_PRT0_DM2\r
 LED1__DR EQU CYREG_PRT0_DR\r
 LED1__INP_DIS EQU CYREG_PRT0_INP_DIS\r
+LED1__INTTYPE_BASE EQU CYDEV_PICU_INTTYPE_PICU0_BASE\r
 LED1__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG\r
 LED1__LCD_EN EQU CYREG_PRT0_LCD_EN\r
 LED1__MASK EQU 0x02\r
@@ -36,6 +38,7 @@ LED1__SHIFT EQU 1
 LED1__SLW EQU CYREG_PRT0_SLW\r
 \r
 ; SD_CD\r
+SD_CD__0__INTTYPE EQU CYREG_PICU3_INTTYPE5\r
 SD_CD__0__MASK EQU 0x20\r
 SD_CD__0__PC EQU CYREG_PRT3_PC5\r
 SD_CD__0__PORT EQU 3\r
@@ -51,6 +54,7 @@ SD_CD__DM1 EQU CYREG_PRT3_DM1
 SD_CD__DM2 EQU CYREG_PRT3_DM2\r
 SD_CD__DR EQU CYREG_PRT3_DR\r
 SD_CD__INP_DIS EQU CYREG_PRT3_INP_DIS\r
+SD_CD__INTTYPE_BASE EQU CYDEV_PICU_INTTYPE_PICU3_BASE\r
 SD_CD__LCD_COM_SEG EQU CYREG_PRT3_LCD_COM_SEG\r
 SD_CD__LCD_EN EQU CYREG_PRT3_LCD_EN\r
 SD_CD__MASK EQU 0x20\r
@@ -68,6 +72,7 @@ SD_CD__SHIFT EQU 5
 SD_CD__SLW EQU CYREG_PRT3_SLW\r
 \r
 ; SD_CS\r
+SD_CS__0__INTTYPE EQU CYREG_PICU3_INTTYPE4\r
 SD_CS__0__MASK EQU 0x10\r
 SD_CS__0__PC EQU CYREG_PRT3_PC4\r
 SD_CS__0__PORT EQU 3\r
@@ -83,6 +88,7 @@ SD_CS__DM1 EQU CYREG_PRT3_DM1
 SD_CS__DM2 EQU CYREG_PRT3_DM2\r
 SD_CS__DR EQU CYREG_PRT3_DR\r
 SD_CS__INP_DIS EQU CYREG_PRT3_INP_DIS\r
+SD_CS__INTTYPE_BASE EQU CYDEV_PICU_INTTYPE_PICU3_BASE\r
 SD_CS__LCD_COM_SEG EQU CYREG_PRT3_LCD_COM_SEG\r
 SD_CS__LCD_EN EQU CYREG_PRT3_LCD_EN\r
 SD_CS__MASK EQU 0x10\r
@@ -120,6 +126,7 @@ USBFS_bus_reset__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
 USBFS_bus_reset__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0\r
 \r
 ; USBFS_Dm\r
+USBFS_Dm__0__INTTYPE EQU CYREG_PICU15_INTTYPE7\r
 USBFS_Dm__0__MASK EQU 0x80\r
 USBFS_Dm__0__PC EQU CYREG_IO_PC_PRT15_7_6_PC1\r
 USBFS_Dm__0__PORT EQU 15\r
@@ -135,6 +142,7 @@ USBFS_Dm__DM1 EQU CYREG_PRT15_DM1
 USBFS_Dm__DM2 EQU CYREG_PRT15_DM2\r
 USBFS_Dm__DR EQU CYREG_PRT15_DR\r
 USBFS_Dm__INP_DIS EQU CYREG_PRT15_INP_DIS\r
+USBFS_Dm__INTTYPE_BASE EQU CYDEV_PICU_INTTYPE_PICU15_BASE\r
 USBFS_Dm__LCD_COM_SEG EQU CYREG_PRT15_LCD_COM_SEG\r
 USBFS_Dm__LCD_EN EQU CYREG_PRT15_LCD_EN\r
 USBFS_Dm__MASK EQU 0x80\r
@@ -152,6 +160,7 @@ USBFS_Dm__SHIFT EQU 7
 USBFS_Dm__SLW EQU CYREG_PRT15_SLW\r
 \r
 ; USBFS_Dp\r
+USBFS_Dp__0__INTTYPE EQU CYREG_PICU15_INTTYPE6\r
 USBFS_Dp__0__MASK EQU 0x40\r
 USBFS_Dp__0__PC EQU CYREG_IO_PC_PRT15_7_6_PC0\r
 USBFS_Dp__0__PORT EQU 15\r
@@ -168,6 +177,7 @@ USBFS_Dp__DM2 EQU CYREG_PRT15_DM2
 USBFS_Dp__DR EQU CYREG_PRT15_DR\r
 USBFS_Dp__INP_DIS EQU CYREG_PRT15_INP_DIS\r
 USBFS_Dp__INTSTAT EQU CYREG_PICU15_INTSTAT\r
+USBFS_Dp__INTTYPE_BASE EQU CYDEV_PICU_INTTYPE_PICU15_BASE\r
 USBFS_Dp__LCD_COM_SEG EQU CYREG_PRT15_LCD_COM_SEG\r
 USBFS_Dp__LCD_EN EQU CYREG_PRT15_LCD_EN\r
 USBFS_Dp__MASK EQU 0x40\r
@@ -382,6 +392,7 @@ USBFS_USB__USBIO_CR0 EQU CYREG_USB_USBIO_CR0
 USBFS_USB__USBIO_CR1 EQU CYREG_USB_USBIO_CR1\r
 \r
 ; EXTLED\r
+EXTLED__0__INTTYPE EQU CYREG_PICU0_INTTYPE0\r
 EXTLED__0__MASK EQU 0x01\r
 EXTLED__0__PC EQU CYREG_PRT0_PC0\r
 EXTLED__0__PORT EQU 0\r
@@ -397,6 +408,7 @@ EXTLED__DM1 EQU CYREG_PRT0_DM1
 EXTLED__DM2 EQU CYREG_PRT0_DM2\r
 EXTLED__DR EQU CYREG_PRT0_DR\r
 EXTLED__INP_DIS EQU CYREG_PRT0_INP_DIS\r
+EXTLED__INTTYPE_BASE EQU CYDEV_PICU_INTTYPE_PICU0_BASE\r
 EXTLED__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG\r
 EXTLED__LCD_EN EQU CYREG_PRT0_LCD_EN\r
 EXTLED__MASK EQU 0x01\r
@@ -414,32 +426,32 @@ EXTLED__SHIFT EQU 0
 EXTLED__SLW EQU CYREG_PRT0_SLW\r
 \r
 ; SDCard_BSPIM\r
-SDCard_BSPIM_BitCounter__16BIT_CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB12_13_ACTL\r
-SDCard_BSPIM_BitCounter__16BIT_CONTROL_CONTROL_REG EQU CYREG_B0_UDB12_13_CTL\r
-SDCard_BSPIM_BitCounter__16BIT_CONTROL_COUNT_REG EQU CYREG_B0_UDB12_13_CTL\r
-SDCard_BSPIM_BitCounter__16BIT_COUNT_CONTROL_REG EQU CYREG_B0_UDB12_13_CTL\r
-SDCard_BSPIM_BitCounter__16BIT_COUNT_COUNT_REG EQU CYREG_B0_UDB12_13_CTL\r
-SDCard_BSPIM_BitCounter__16BIT_MASK_MASK_REG EQU CYREG_B0_UDB12_13_MSK\r
-SDCard_BSPIM_BitCounter__16BIT_MASK_PERIOD_REG EQU CYREG_B0_UDB12_13_MSK\r
-SDCard_BSPIM_BitCounter__16BIT_PERIOD_MASK_REG EQU CYREG_B0_UDB12_13_MSK\r
-SDCard_BSPIM_BitCounter__16BIT_PERIOD_PERIOD_REG EQU CYREG_B0_UDB12_13_MSK\r
-SDCard_BSPIM_BitCounter__CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB12_ACTL\r
-SDCard_BSPIM_BitCounter__CONTROL_REG EQU CYREG_B0_UDB12_CTL\r
-SDCard_BSPIM_BitCounter__CONTROL_ST_REG EQU CYREG_B0_UDB12_ST_CTL\r
-SDCard_BSPIM_BitCounter__COUNT_REG EQU CYREG_B0_UDB12_CTL\r
-SDCard_BSPIM_BitCounter__COUNT_ST_REG EQU CYREG_B0_UDB12_ST_CTL\r
-SDCard_BSPIM_BitCounter__MASK_CTL_AUX_CTL_REG EQU CYREG_B0_UDB12_MSK_ACTL\r
-SDCard_BSPIM_BitCounter__PER_CTL_AUX_CTL_REG EQU CYREG_B0_UDB12_MSK_ACTL\r
-SDCard_BSPIM_BitCounter__PERIOD_REG EQU CYREG_B0_UDB12_MSK\r
-SDCard_BSPIM_BitCounter_ST__16BIT_STATUS_AUX_CTL_REG EQU CYREG_B0_UDB12_13_ACTL\r
-SDCard_BSPIM_BitCounter_ST__16BIT_STATUS_REG EQU CYREG_B0_UDB12_13_ST\r
-SDCard_BSPIM_BitCounter_ST__MASK_REG EQU CYREG_B0_UDB12_MSK\r
-SDCard_BSPIM_BitCounter_ST__MASK_ST_AUX_CTL_REG EQU CYREG_B0_UDB12_MSK_ACTL\r
-SDCard_BSPIM_BitCounter_ST__PER_ST_AUX_CTL_REG EQU CYREG_B0_UDB12_MSK_ACTL\r
-SDCard_BSPIM_BitCounter_ST__STATUS_AUX_CTL_REG EQU CYREG_B0_UDB12_ACTL\r
-SDCard_BSPIM_BitCounter_ST__STATUS_CNT_REG EQU CYREG_B0_UDB12_ST_CTL\r
-SDCard_BSPIM_BitCounter_ST__STATUS_CONTROL_REG EQU CYREG_B0_UDB12_ST_CTL\r
-SDCard_BSPIM_BitCounter_ST__STATUS_REG EQU CYREG_B0_UDB12_ST\r
+SDCard_BSPIM_BitCounter__16BIT_CONTROL_AUX_CTL_REG EQU CYREG_B1_UDB04_05_ACTL\r
+SDCard_BSPIM_BitCounter__16BIT_CONTROL_CONTROL_REG EQU CYREG_B1_UDB04_05_CTL\r
+SDCard_BSPIM_BitCounter__16BIT_CONTROL_COUNT_REG EQU CYREG_B1_UDB04_05_CTL\r
+SDCard_BSPIM_BitCounter__16BIT_COUNT_CONTROL_REG EQU CYREG_B1_UDB04_05_CTL\r
+SDCard_BSPIM_BitCounter__16BIT_COUNT_COUNT_REG EQU CYREG_B1_UDB04_05_CTL\r
+SDCard_BSPIM_BitCounter__16BIT_MASK_MASK_REG EQU CYREG_B1_UDB04_05_MSK\r
+SDCard_BSPIM_BitCounter__16BIT_MASK_PERIOD_REG EQU CYREG_B1_UDB04_05_MSK\r
+SDCard_BSPIM_BitCounter__16BIT_PERIOD_MASK_REG EQU CYREG_B1_UDB04_05_MSK\r
+SDCard_BSPIM_BitCounter__16BIT_PERIOD_PERIOD_REG EQU CYREG_B1_UDB04_05_MSK\r
+SDCard_BSPIM_BitCounter__CONTROL_AUX_CTL_REG EQU CYREG_B1_UDB04_ACTL\r
+SDCard_BSPIM_BitCounter__CONTROL_REG EQU CYREG_B1_UDB04_CTL\r
+SDCard_BSPIM_BitCounter__CONTROL_ST_REG EQU CYREG_B1_UDB04_ST_CTL\r
+SDCard_BSPIM_BitCounter__COUNT_REG EQU CYREG_B1_UDB04_CTL\r
+SDCard_BSPIM_BitCounter__COUNT_ST_REG EQU CYREG_B1_UDB04_ST_CTL\r
+SDCard_BSPIM_BitCounter__MASK_CTL_AUX_CTL_REG EQU CYREG_B1_UDB04_MSK_ACTL\r
+SDCard_BSPIM_BitCounter__PER_CTL_AUX_CTL_REG EQU CYREG_B1_UDB04_MSK_ACTL\r
+SDCard_BSPIM_BitCounter__PERIOD_REG EQU CYREG_B1_UDB04_MSK\r
+SDCard_BSPIM_BitCounter_ST__16BIT_STATUS_AUX_CTL_REG EQU CYREG_B1_UDB04_05_ACTL\r
+SDCard_BSPIM_BitCounter_ST__16BIT_STATUS_REG EQU CYREG_B1_UDB04_05_ST\r
+SDCard_BSPIM_BitCounter_ST__MASK_REG EQU CYREG_B1_UDB04_MSK\r
+SDCard_BSPIM_BitCounter_ST__MASK_ST_AUX_CTL_REG EQU CYREG_B1_UDB04_MSK_ACTL\r
+SDCard_BSPIM_BitCounter_ST__PER_ST_AUX_CTL_REG EQU CYREG_B1_UDB04_MSK_ACTL\r
+SDCard_BSPIM_BitCounter_ST__STATUS_AUX_CTL_REG EQU CYREG_B1_UDB04_ACTL\r
+SDCard_BSPIM_BitCounter_ST__STATUS_CNT_REG EQU CYREG_B1_UDB04_ST_CTL\r
+SDCard_BSPIM_BitCounter_ST__STATUS_CONTROL_REG EQU CYREG_B1_UDB04_ST_CTL\r
+SDCard_BSPIM_BitCounter_ST__STATUS_REG EQU CYREG_B1_UDB04_ST\r
 SDCard_BSPIM_RxStsReg__16BIT_STATUS_AUX_CTL_REG EQU CYREG_B1_UDB07_08_ACTL\r
 SDCard_BSPIM_RxStsReg__16BIT_STATUS_REG EQU CYREG_B1_UDB07_08_ST\r
 SDCard_BSPIM_RxStsReg__4__MASK EQU 0x10\r
@@ -450,11 +462,7 @@ SDCard_BSPIM_RxStsReg__6__MASK EQU 0x40
 SDCard_BSPIM_RxStsReg__6__POS EQU 6\r
 SDCard_BSPIM_RxStsReg__MASK EQU 0x70\r
 SDCard_BSPIM_RxStsReg__MASK_REG EQU CYREG_B1_UDB07_MSK\r
-SDCard_BSPIM_RxStsReg__MASK_ST_AUX_CTL_REG EQU CYREG_B1_UDB07_MSK_ACTL\r
-SDCard_BSPIM_RxStsReg__PER_ST_AUX_CTL_REG EQU CYREG_B1_UDB07_MSK_ACTL\r
 SDCard_BSPIM_RxStsReg__STATUS_AUX_CTL_REG EQU CYREG_B1_UDB07_ACTL\r
-SDCard_BSPIM_RxStsReg__STATUS_CNT_REG EQU CYREG_B1_UDB07_ST_CTL\r
-SDCard_BSPIM_RxStsReg__STATUS_CONTROL_REG EQU CYREG_B1_UDB07_ST_CTL\r
 SDCard_BSPIM_RxStsReg__STATUS_REG EQU CYREG_B1_UDB07_ST\r
 SDCard_BSPIM_sR8_Dp_u0__16BIT_A0_REG EQU CYREG_B1_UDB04_05_A0\r
 SDCard_BSPIM_sR8_Dp_u0__16BIT_A1_REG EQU CYREG_B1_UDB04_05_A1\r
@@ -479,6 +487,8 @@ SDCard_BSPIM_TxStsReg__0__MASK EQU 0x01
 SDCard_BSPIM_TxStsReg__0__POS EQU 0\r
 SDCard_BSPIM_TxStsReg__1__MASK EQU 0x02\r
 SDCard_BSPIM_TxStsReg__1__POS EQU 1\r
+SDCard_BSPIM_TxStsReg__16BIT_STATUS_AUX_CTL_REG EQU CYREG_B0_UDB07_08_ACTL\r
+SDCard_BSPIM_TxStsReg__16BIT_STATUS_REG EQU CYREG_B0_UDB07_08_ST\r
 SDCard_BSPIM_TxStsReg__2__MASK EQU 0x04\r
 SDCard_BSPIM_TxStsReg__2__POS EQU 2\r
 SDCard_BSPIM_TxStsReg__3__MASK EQU 0x08\r
@@ -486,11 +496,12 @@ SDCard_BSPIM_TxStsReg__3__POS EQU 3
 SDCard_BSPIM_TxStsReg__4__MASK EQU 0x10\r
 SDCard_BSPIM_TxStsReg__4__POS EQU 4\r
 SDCard_BSPIM_TxStsReg__MASK EQU 0x1F\r
-SDCard_BSPIM_TxStsReg__MASK_REG EQU CYREG_B1_UDB11_MSK\r
-SDCard_BSPIM_TxStsReg__STATUS_AUX_CTL_REG EQU CYREG_B1_UDB11_ACTL\r
-SDCard_BSPIM_TxStsReg__STATUS_REG EQU CYREG_B1_UDB11_ST\r
+SDCard_BSPIM_TxStsReg__MASK_REG EQU CYREG_B0_UDB07_MSK\r
+SDCard_BSPIM_TxStsReg__STATUS_AUX_CTL_REG EQU CYREG_B0_UDB07_ACTL\r
+SDCard_BSPIM_TxStsReg__STATUS_REG EQU CYREG_B0_UDB07_ST\r
 \r
 ; SD_SCK\r
+SD_SCK__0__INTTYPE EQU CYREG_PICU3_INTTYPE2\r
 SD_SCK__0__MASK EQU 0x04\r
 SD_SCK__0__PC EQU CYREG_PRT3_PC2\r
 SD_SCK__0__PORT EQU 3\r
@@ -506,6 +517,7 @@ SD_SCK__DM1 EQU CYREG_PRT3_DM1
 SD_SCK__DM2 EQU CYREG_PRT3_DM2\r
 SD_SCK__DR EQU CYREG_PRT3_DR\r
 SD_SCK__INP_DIS EQU CYREG_PRT3_INP_DIS\r
+SD_SCK__INTTYPE_BASE EQU CYDEV_PICU_INTTYPE_PICU3_BASE\r
 SD_SCK__LCD_COM_SEG EQU CYREG_PRT3_LCD_COM_SEG\r
 SD_SCK__LCD_EN EQU CYREG_PRT3_LCD_EN\r
 SD_SCK__MASK EQU 0x04\r
@@ -534,6 +546,7 @@ SCSI_In__0__DM1 EQU CYREG_PRT2_DM1
 SCSI_In__0__DM2 EQU CYREG_PRT2_DM2\r
 SCSI_In__0__DR EQU CYREG_PRT2_DR\r
 SCSI_In__0__INP_DIS EQU CYREG_PRT2_INP_DIS\r
+SCSI_In__0__INTTYPE EQU CYREG_PICU2_INTTYPE1\r
 SCSI_In__0__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG\r
 SCSI_In__0__LCD_EN EQU CYREG_PRT2_LCD_EN\r
 SCSI_In__0__MASK EQU 0x02\r
@@ -561,6 +574,7 @@ SCSI_In__1__DM1 EQU CYREG_PRT4_DM1
 SCSI_In__1__DM2 EQU CYREG_PRT4_DM2\r
 SCSI_In__1__DR EQU CYREG_PRT4_DR\r
 SCSI_In__1__INP_DIS EQU CYREG_PRT4_INP_DIS\r
+SCSI_In__1__INTTYPE EQU CYREG_PICU4_INTTYPE6\r
 SCSI_In__1__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG\r
 SCSI_In__1__LCD_EN EQU CYREG_PRT4_LCD_EN\r
 SCSI_In__1__MASK EQU 0x40\r
@@ -588,6 +602,7 @@ SCSI_In__2__DM1 EQU CYREG_PRT4_DM1
 SCSI_In__2__DM2 EQU CYREG_PRT4_DM2\r
 SCSI_In__2__DR EQU CYREG_PRT4_DR\r
 SCSI_In__2__INP_DIS EQU CYREG_PRT4_INP_DIS\r
+SCSI_In__2__INTTYPE EQU CYREG_PICU4_INTTYPE2\r
 SCSI_In__2__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG\r
 SCSI_In__2__LCD_EN EQU CYREG_PRT4_LCD_EN\r
 SCSI_In__2__MASK EQU 0x04\r
@@ -615,6 +630,7 @@ SCSI_In__3__DM1 EQU CYREG_PRT0_DM1
 SCSI_In__3__DM2 EQU CYREG_PRT0_DM2\r
 SCSI_In__3__DR EQU CYREG_PRT0_DR\r
 SCSI_In__3__INP_DIS EQU CYREG_PRT0_INP_DIS\r
+SCSI_In__3__INTTYPE EQU CYREG_PICU0_INTTYPE5\r
 SCSI_In__3__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG\r
 SCSI_In__3__LCD_EN EQU CYREG_PRT0_LCD_EN\r
 SCSI_In__3__MASK EQU 0x20\r
@@ -642,6 +658,7 @@ SCSI_In__4__DM1 EQU CYREG_PRT0_DM1
 SCSI_In__4__DM2 EQU CYREG_PRT0_DM2\r
 SCSI_In__4__DR EQU CYREG_PRT0_DR\r
 SCSI_In__4__INP_DIS EQU CYREG_PRT0_INP_DIS\r
+SCSI_In__4__INTTYPE EQU CYREG_PICU0_INTTYPE4\r
 SCSI_In__4__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG\r
 SCSI_In__4__LCD_EN EQU CYREG_PRT0_LCD_EN\r
 SCSI_In__4__MASK EQU 0x10\r
@@ -669,6 +686,7 @@ SCSI_In__CD__DM1 EQU CYREG_PRT4_DM1
 SCSI_In__CD__DM2 EQU CYREG_PRT4_DM2\r
 SCSI_In__CD__DR EQU CYREG_PRT4_DR\r
 SCSI_In__CD__INP_DIS EQU CYREG_PRT4_INP_DIS\r
+SCSI_In__CD__INTTYPE EQU CYREG_PICU4_INTTYPE2\r
 SCSI_In__CD__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG\r
 SCSI_In__CD__LCD_EN EQU CYREG_PRT4_LCD_EN\r
 SCSI_In__CD__MASK EQU 0x04\r
@@ -696,6 +714,7 @@ SCSI_In__DBP__DM1 EQU CYREG_PRT2_DM1
 SCSI_In__DBP__DM2 EQU CYREG_PRT2_DM2\r
 SCSI_In__DBP__DR EQU CYREG_PRT2_DR\r
 SCSI_In__DBP__INP_DIS EQU CYREG_PRT2_INP_DIS\r
+SCSI_In__DBP__INTTYPE EQU CYREG_PICU2_INTTYPE1\r
 SCSI_In__DBP__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG\r
 SCSI_In__DBP__LCD_EN EQU CYREG_PRT2_LCD_EN\r
 SCSI_In__DBP__MASK EQU 0x02\r
@@ -723,6 +742,7 @@ SCSI_In__IO__DM1 EQU CYREG_PRT0_DM1
 SCSI_In__IO__DM2 EQU CYREG_PRT0_DM2\r
 SCSI_In__IO__DR EQU CYREG_PRT0_DR\r
 SCSI_In__IO__INP_DIS EQU CYREG_PRT0_INP_DIS\r
+SCSI_In__IO__INTTYPE EQU CYREG_PICU0_INTTYPE4\r
 SCSI_In__IO__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG\r
 SCSI_In__IO__LCD_EN EQU CYREG_PRT0_LCD_EN\r
 SCSI_In__IO__MASK EQU 0x10\r
@@ -750,6 +770,7 @@ SCSI_In__MSG__DM1 EQU CYREG_PRT4_DM1
 SCSI_In__MSG__DM2 EQU CYREG_PRT4_DM2\r
 SCSI_In__MSG__DR EQU CYREG_PRT4_DR\r
 SCSI_In__MSG__INP_DIS EQU CYREG_PRT4_INP_DIS\r
+SCSI_In__MSG__INTTYPE EQU CYREG_PICU4_INTTYPE6\r
 SCSI_In__MSG__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG\r
 SCSI_In__MSG__LCD_EN EQU CYREG_PRT4_LCD_EN\r
 SCSI_In__MSG__MASK EQU 0x40\r
@@ -777,6 +798,7 @@ SCSI_In__REQ__DM1 EQU CYREG_PRT0_DM1
 SCSI_In__REQ__DM2 EQU CYREG_PRT0_DM2\r
 SCSI_In__REQ__DR EQU CYREG_PRT0_DR\r
 SCSI_In__REQ__INP_DIS EQU CYREG_PRT0_INP_DIS\r
+SCSI_In__REQ__INTTYPE EQU CYREG_PICU0_INTTYPE5\r
 SCSI_In__REQ__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG\r
 SCSI_In__REQ__LCD_EN EQU CYREG_PRT0_LCD_EN\r
 SCSI_In__REQ__MASK EQU 0x20\r
@@ -806,6 +828,7 @@ SCSI_In_DBx__0__DM1 EQU CYREG_PRT5_DM1
 SCSI_In_DBx__0__DM2 EQU CYREG_PRT5_DM2\r
 SCSI_In_DBx__0__DR EQU CYREG_PRT5_DR\r
 SCSI_In_DBx__0__INP_DIS EQU CYREG_PRT5_INP_DIS\r
+SCSI_In_DBx__0__INTTYPE EQU CYREG_PICU5_INTTYPE3\r
 SCSI_In_DBx__0__LCD_COM_SEG EQU CYREG_PRT5_LCD_COM_SEG\r
 SCSI_In_DBx__0__LCD_EN EQU CYREG_PRT5_LCD_EN\r
 SCSI_In_DBx__0__MASK EQU 0x08\r
@@ -833,6 +856,7 @@ SCSI_In_DBx__1__DM1 EQU CYREG_PRT5_DM1
 SCSI_In_DBx__1__DM2 EQU CYREG_PRT5_DM2\r
 SCSI_In_DBx__1__DR EQU CYREG_PRT5_DR\r
 SCSI_In_DBx__1__INP_DIS EQU CYREG_PRT5_INP_DIS\r
+SCSI_In_DBx__1__INTTYPE EQU CYREG_PICU5_INTTYPE2\r
 SCSI_In_DBx__1__LCD_COM_SEG EQU CYREG_PRT5_LCD_COM_SEG\r
 SCSI_In_DBx__1__LCD_EN EQU CYREG_PRT5_LCD_EN\r
 SCSI_In_DBx__1__MASK EQU 0x04\r
@@ -860,6 +884,7 @@ SCSI_In_DBx__2__DM1 EQU CYREG_PRT6_DM1
 SCSI_In_DBx__2__DM2 EQU CYREG_PRT6_DM2\r
 SCSI_In_DBx__2__DR EQU CYREG_PRT6_DR\r
 SCSI_In_DBx__2__INP_DIS EQU CYREG_PRT6_INP_DIS\r
+SCSI_In_DBx__2__INTTYPE EQU CYREG_PICU6_INTTYPE7\r
 SCSI_In_DBx__2__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG\r
 SCSI_In_DBx__2__LCD_EN EQU CYREG_PRT6_LCD_EN\r
 SCSI_In_DBx__2__MASK EQU 0x80\r
@@ -887,6 +912,7 @@ SCSI_In_DBx__3__DM1 EQU CYREG_PRT6_DM1
 SCSI_In_DBx__3__DM2 EQU CYREG_PRT6_DM2\r
 SCSI_In_DBx__3__DR EQU CYREG_PRT6_DR\r
 SCSI_In_DBx__3__INP_DIS EQU CYREG_PRT6_INP_DIS\r
+SCSI_In_DBx__3__INTTYPE EQU CYREG_PICU6_INTTYPE6\r
 SCSI_In_DBx__3__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG\r
 SCSI_In_DBx__3__LCD_EN EQU CYREG_PRT6_LCD_EN\r
 SCSI_In_DBx__3__MASK EQU 0x40\r
@@ -912,6 +938,7 @@ SCSI_In_DBx__4__DM1 EQU CYREG_PRT12_DM1
 SCSI_In_DBx__4__DM2 EQU CYREG_PRT12_DM2\r
 SCSI_In_DBx__4__DR EQU CYREG_PRT12_DR\r
 SCSI_In_DBx__4__INP_DIS EQU CYREG_PRT12_INP_DIS\r
+SCSI_In_DBx__4__INTTYPE EQU CYREG_PICU12_INTTYPE5\r
 SCSI_In_DBx__4__MASK EQU 0x20\r
 SCSI_In_DBx__4__PC EQU CYREG_PRT12_PC5\r
 SCSI_In_DBx__4__PORT EQU 12\r
@@ -938,6 +965,7 @@ SCSI_In_DBx__5__DM1 EQU CYREG_PRT12_DM1
 SCSI_In_DBx__5__DM2 EQU CYREG_PRT12_DM2\r
 SCSI_In_DBx__5__DR EQU CYREG_PRT12_DR\r
 SCSI_In_DBx__5__INP_DIS EQU CYREG_PRT12_INP_DIS\r
+SCSI_In_DBx__5__INTTYPE EQU CYREG_PICU12_INTTYPE4\r
 SCSI_In_DBx__5__MASK EQU 0x10\r
 SCSI_In_DBx__5__PC EQU CYREG_PRT12_PC4\r
 SCSI_In_DBx__5__PORT EQU 12\r
@@ -966,6 +994,7 @@ SCSI_In_DBx__6__DM1 EQU CYREG_PRT2_DM1
 SCSI_In_DBx__6__DM2 EQU CYREG_PRT2_DM2\r
 SCSI_In_DBx__6__DR EQU CYREG_PRT2_DR\r
 SCSI_In_DBx__6__INP_DIS EQU CYREG_PRT2_INP_DIS\r
+SCSI_In_DBx__6__INTTYPE EQU CYREG_PICU2_INTTYPE5\r
 SCSI_In_DBx__6__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG\r
 SCSI_In_DBx__6__LCD_EN EQU CYREG_PRT2_LCD_EN\r
 SCSI_In_DBx__6__MASK EQU 0x20\r
@@ -993,6 +1022,7 @@ SCSI_In_DBx__7__DM1 EQU CYREG_PRT2_DM1
 SCSI_In_DBx__7__DM2 EQU CYREG_PRT2_DM2\r
 SCSI_In_DBx__7__DR EQU CYREG_PRT2_DR\r
 SCSI_In_DBx__7__INP_DIS EQU CYREG_PRT2_INP_DIS\r
+SCSI_In_DBx__7__INTTYPE EQU CYREG_PICU2_INTTYPE4\r
 SCSI_In_DBx__7__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG\r
 SCSI_In_DBx__7__LCD_EN EQU CYREG_PRT2_LCD_EN\r
 SCSI_In_DBx__7__MASK EQU 0x10\r
@@ -1020,6 +1050,7 @@ SCSI_In_DBx__DB0__DM1 EQU CYREG_PRT5_DM1
 SCSI_In_DBx__DB0__DM2 EQU CYREG_PRT5_DM2\r
 SCSI_In_DBx__DB0__DR EQU CYREG_PRT5_DR\r
 SCSI_In_DBx__DB0__INP_DIS EQU CYREG_PRT5_INP_DIS\r
+SCSI_In_DBx__DB0__INTTYPE EQU CYREG_PICU5_INTTYPE3\r
 SCSI_In_DBx__DB0__LCD_COM_SEG EQU CYREG_PRT5_LCD_COM_SEG\r
 SCSI_In_DBx__DB0__LCD_EN EQU CYREG_PRT5_LCD_EN\r
 SCSI_In_DBx__DB0__MASK EQU 0x08\r
@@ -1047,6 +1078,7 @@ SCSI_In_DBx__DB1__DM1 EQU CYREG_PRT5_DM1
 SCSI_In_DBx__DB1__DM2 EQU CYREG_PRT5_DM2\r
 SCSI_In_DBx__DB1__DR EQU CYREG_PRT5_DR\r
 SCSI_In_DBx__DB1__INP_DIS EQU CYREG_PRT5_INP_DIS\r
+SCSI_In_DBx__DB1__INTTYPE EQU CYREG_PICU5_INTTYPE2\r
 SCSI_In_DBx__DB1__LCD_COM_SEG EQU CYREG_PRT5_LCD_COM_SEG\r
 SCSI_In_DBx__DB1__LCD_EN EQU CYREG_PRT5_LCD_EN\r
 SCSI_In_DBx__DB1__MASK EQU 0x04\r
@@ -1074,6 +1106,7 @@ SCSI_In_DBx__DB2__DM1 EQU CYREG_PRT6_DM1
 SCSI_In_DBx__DB2__DM2 EQU CYREG_PRT6_DM2\r
 SCSI_In_DBx__DB2__DR EQU CYREG_PRT6_DR\r
 SCSI_In_DBx__DB2__INP_DIS EQU CYREG_PRT6_INP_DIS\r
+SCSI_In_DBx__DB2__INTTYPE EQU CYREG_PICU6_INTTYPE7\r
 SCSI_In_DBx__DB2__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG\r
 SCSI_In_DBx__DB2__LCD_EN EQU CYREG_PRT6_LCD_EN\r
 SCSI_In_DBx__DB2__MASK EQU 0x80\r
@@ -1101,6 +1134,7 @@ SCSI_In_DBx__DB3__DM1 EQU CYREG_PRT6_DM1
 SCSI_In_DBx__DB3__DM2 EQU CYREG_PRT6_DM2\r
 SCSI_In_DBx__DB3__DR EQU CYREG_PRT6_DR\r
 SCSI_In_DBx__DB3__INP_DIS EQU CYREG_PRT6_INP_DIS\r
+SCSI_In_DBx__DB3__INTTYPE EQU CYREG_PICU6_INTTYPE6\r
 SCSI_In_DBx__DB3__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG\r
 SCSI_In_DBx__DB3__LCD_EN EQU CYREG_PRT6_LCD_EN\r
 SCSI_In_DBx__DB3__MASK EQU 0x40\r
@@ -1126,6 +1160,7 @@ SCSI_In_DBx__DB4__DM1 EQU CYREG_PRT12_DM1
 SCSI_In_DBx__DB4__DM2 EQU CYREG_PRT12_DM2\r
 SCSI_In_DBx__DB4__DR EQU CYREG_PRT12_DR\r
 SCSI_In_DBx__DB4__INP_DIS EQU CYREG_PRT12_INP_DIS\r
+SCSI_In_DBx__DB4__INTTYPE EQU CYREG_PICU12_INTTYPE5\r
 SCSI_In_DBx__DB4__MASK EQU 0x20\r
 SCSI_In_DBx__DB4__PC EQU CYREG_PRT12_PC5\r
 SCSI_In_DBx__DB4__PORT EQU 12\r
@@ -1152,6 +1187,7 @@ SCSI_In_DBx__DB5__DM1 EQU CYREG_PRT12_DM1
 SCSI_In_DBx__DB5__DM2 EQU CYREG_PRT12_DM2\r
 SCSI_In_DBx__DB5__DR EQU CYREG_PRT12_DR\r
 SCSI_In_DBx__DB5__INP_DIS EQU CYREG_PRT12_INP_DIS\r
+SCSI_In_DBx__DB5__INTTYPE EQU CYREG_PICU12_INTTYPE4\r
 SCSI_In_DBx__DB5__MASK EQU 0x10\r
 SCSI_In_DBx__DB5__PC EQU CYREG_PRT12_PC4\r
 SCSI_In_DBx__DB5__PORT EQU 12\r
@@ -1180,6 +1216,7 @@ SCSI_In_DBx__DB6__DM1 EQU CYREG_PRT2_DM1
 SCSI_In_DBx__DB6__DM2 EQU CYREG_PRT2_DM2\r
 SCSI_In_DBx__DB6__DR EQU CYREG_PRT2_DR\r
 SCSI_In_DBx__DB6__INP_DIS EQU CYREG_PRT2_INP_DIS\r
+SCSI_In_DBx__DB6__INTTYPE EQU CYREG_PICU2_INTTYPE5\r
 SCSI_In_DBx__DB6__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG\r
 SCSI_In_DBx__DB6__LCD_EN EQU CYREG_PRT2_LCD_EN\r
 SCSI_In_DBx__DB6__MASK EQU 0x20\r
@@ -1207,6 +1244,7 @@ SCSI_In_DBx__DB7__DM1 EQU CYREG_PRT2_DM1
 SCSI_In_DBx__DB7__DM2 EQU CYREG_PRT2_DM2\r
 SCSI_In_DBx__DB7__DR EQU CYREG_PRT2_DR\r
 SCSI_In_DBx__DB7__INP_DIS EQU CYREG_PRT2_INP_DIS\r
+SCSI_In_DBx__DB7__INTTYPE EQU CYREG_PICU2_INTTYPE4\r
 SCSI_In_DBx__DB7__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG\r
 SCSI_In_DBx__DB7__LCD_EN EQU CYREG_PRT2_LCD_EN\r
 SCSI_In_DBx__DB7__MASK EQU 0x10\r
@@ -1225,6 +1263,7 @@ SCSI_In_DBx__DB7__SHIFT EQU 4
 SCSI_In_DBx__DB7__SLW EQU CYREG_PRT2_SLW\r
 \r
 ; SD_MISO\r
+SD_MISO__0__INTTYPE EQU CYREG_PICU3_INTTYPE1\r
 SD_MISO__0__MASK EQU 0x02\r
 SD_MISO__0__PC EQU CYREG_PRT3_PC1\r
 SD_MISO__0__PORT EQU 3\r
@@ -1240,6 +1279,7 @@ SD_MISO__DM1 EQU CYREG_PRT3_DM1
 SD_MISO__DM2 EQU CYREG_PRT3_DM2\r
 SD_MISO__DR EQU CYREG_PRT3_DR\r
 SD_MISO__INP_DIS EQU CYREG_PRT3_INP_DIS\r
+SD_MISO__INTTYPE_BASE EQU CYDEV_PICU_INTTYPE_PICU3_BASE\r
 SD_MISO__LCD_COM_SEG EQU CYREG_PRT3_LCD_COM_SEG\r
 SD_MISO__LCD_EN EQU CYREG_PRT3_LCD_EN\r
 SD_MISO__MASK EQU 0x02\r
@@ -1257,6 +1297,7 @@ SD_MISO__SHIFT EQU 1
 SD_MISO__SLW EQU CYREG_PRT3_SLW\r
 \r
 ; SD_MOSI\r
+SD_MOSI__0__INTTYPE EQU CYREG_PICU3_INTTYPE3\r
 SD_MOSI__0__MASK EQU 0x08\r
 SD_MOSI__0__PC EQU CYREG_PRT3_PC3\r
 SD_MOSI__0__PORT EQU 3\r
@@ -1272,6 +1313,7 @@ SD_MOSI__DM1 EQU CYREG_PRT3_DM1
 SD_MOSI__DM2 EQU CYREG_PRT3_DM2\r
 SD_MOSI__DR EQU CYREG_PRT3_DR\r
 SD_MOSI__INP_DIS EQU CYREG_PRT3_INP_DIS\r
+SD_MOSI__INTTYPE_BASE EQU CYDEV_PICU_INTTYPE_PICU3_BASE\r
 SD_MOSI__LCD_COM_SEG EQU CYREG_PRT3_LCD_COM_SEG\r
 SD_MOSI__LCD_EN EQU CYREG_PRT3_LCD_EN\r
 SD_MOSI__MASK EQU 0x08\r
@@ -1311,6 +1353,7 @@ SCSI_Out__0__DM1 EQU CYREG_PRT15_DM1
 SCSI_Out__0__DM2 EQU CYREG_PRT15_DM2\r
 SCSI_Out__0__DR EQU CYREG_PRT15_DR\r
 SCSI_Out__0__INP_DIS EQU CYREG_PRT15_INP_DIS\r
+SCSI_Out__0__INTTYPE EQU CYREG_PICU15_INTTYPE5\r
 SCSI_Out__0__LCD_COM_SEG EQU CYREG_PRT15_LCD_COM_SEG\r
 SCSI_Out__0__LCD_EN EQU CYREG_PRT15_LCD_EN\r
 SCSI_Out__0__MASK EQU 0x20\r
@@ -1338,6 +1381,7 @@ SCSI_Out__1__DM1 EQU CYREG_PRT15_DM1
 SCSI_Out__1__DM2 EQU CYREG_PRT15_DM2\r
 SCSI_Out__1__DR EQU CYREG_PRT15_DR\r
 SCSI_Out__1__INP_DIS EQU CYREG_PRT15_INP_DIS\r
+SCSI_Out__1__INTTYPE EQU CYREG_PICU15_INTTYPE4\r
 SCSI_Out__1__LCD_COM_SEG EQU CYREG_PRT15_LCD_COM_SEG\r
 SCSI_Out__1__LCD_EN EQU CYREG_PRT15_LCD_EN\r
 SCSI_Out__1__MASK EQU 0x10\r
@@ -1365,6 +1409,7 @@ SCSI_Out__2__DM1 EQU CYREG_PRT6_DM1
 SCSI_Out__2__DM2 EQU CYREG_PRT6_DM2\r
 SCSI_Out__2__DR EQU CYREG_PRT6_DR\r
 SCSI_Out__2__INP_DIS EQU CYREG_PRT6_INP_DIS\r
+SCSI_Out__2__INTTYPE EQU CYREG_PICU6_INTTYPE1\r
 SCSI_Out__2__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG\r
 SCSI_Out__2__LCD_EN EQU CYREG_PRT6_LCD_EN\r
 SCSI_Out__2__MASK EQU 0x02\r
@@ -1392,6 +1437,7 @@ SCSI_Out__3__DM1 EQU CYREG_PRT6_DM1
 SCSI_Out__3__DM2 EQU CYREG_PRT6_DM2\r
 SCSI_Out__3__DR EQU CYREG_PRT6_DR\r
 SCSI_Out__3__INP_DIS EQU CYREG_PRT6_INP_DIS\r
+SCSI_Out__3__INTTYPE EQU CYREG_PICU6_INTTYPE0\r
 SCSI_Out__3__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG\r
 SCSI_Out__3__LCD_EN EQU CYREG_PRT6_LCD_EN\r
 SCSI_Out__3__MASK EQU 0x01\r
@@ -1419,6 +1465,7 @@ SCSI_Out__4__DM1 EQU CYREG_PRT4_DM1
 SCSI_Out__4__DM2 EQU CYREG_PRT4_DM2\r
 SCSI_Out__4__DR EQU CYREG_PRT4_DR\r
 SCSI_Out__4__INP_DIS EQU CYREG_PRT4_INP_DIS\r
+SCSI_Out__4__INTTYPE EQU CYREG_PICU4_INTTYPE5\r
 SCSI_Out__4__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG\r
 SCSI_Out__4__LCD_EN EQU CYREG_PRT4_LCD_EN\r
 SCSI_Out__4__MASK EQU 0x20\r
@@ -1446,6 +1493,7 @@ SCSI_Out__5__DM1 EQU CYREG_PRT4_DM1
 SCSI_Out__5__DM2 EQU CYREG_PRT4_DM2\r
 SCSI_Out__5__DR EQU CYREG_PRT4_DR\r
 SCSI_Out__5__INP_DIS EQU CYREG_PRT4_INP_DIS\r
+SCSI_Out__5__INTTYPE EQU CYREG_PICU4_INTTYPE4\r
 SCSI_Out__5__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG\r
 SCSI_Out__5__LCD_EN EQU CYREG_PRT4_LCD_EN\r
 SCSI_Out__5__MASK EQU 0x10\r
@@ -1473,6 +1521,7 @@ SCSI_Out__6__DM1 EQU CYREG_PRT0_DM1
 SCSI_Out__6__DM2 EQU CYREG_PRT0_DM2\r
 SCSI_Out__6__DR EQU CYREG_PRT0_DR\r
 SCSI_Out__6__INP_DIS EQU CYREG_PRT0_INP_DIS\r
+SCSI_Out__6__INTTYPE EQU CYREG_PICU0_INTTYPE7\r
 SCSI_Out__6__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG\r
 SCSI_Out__6__LCD_EN EQU CYREG_PRT0_LCD_EN\r
 SCSI_Out__6__MASK EQU 0x80\r
@@ -1500,6 +1549,7 @@ SCSI_Out__7__DM1 EQU CYREG_PRT0_DM1
 SCSI_Out__7__DM2 EQU CYREG_PRT0_DM2\r
 SCSI_Out__7__DR EQU CYREG_PRT0_DR\r
 SCSI_Out__7__INP_DIS EQU CYREG_PRT0_INP_DIS\r
+SCSI_Out__7__INTTYPE EQU CYREG_PICU0_INTTYPE6\r
 SCSI_Out__7__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG\r
 SCSI_Out__7__LCD_EN EQU CYREG_PRT0_LCD_EN\r
 SCSI_Out__7__MASK EQU 0x40\r
@@ -1527,6 +1577,7 @@ SCSI_Out__8__DM1 EQU CYREG_PRT0_DM1
 SCSI_Out__8__DM2 EQU CYREG_PRT0_DM2\r
 SCSI_Out__8__DR EQU CYREG_PRT0_DR\r
 SCSI_Out__8__INP_DIS EQU CYREG_PRT0_INP_DIS\r
+SCSI_Out__8__INTTYPE EQU CYREG_PICU0_INTTYPE3\r
 SCSI_Out__8__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG\r
 SCSI_Out__8__LCD_EN EQU CYREG_PRT0_LCD_EN\r
 SCSI_Out__8__MASK EQU 0x08\r
@@ -1554,6 +1605,7 @@ SCSI_Out__9__DM1 EQU CYREG_PRT0_DM1
 SCSI_Out__9__DM2 EQU CYREG_PRT0_DM2\r
 SCSI_Out__9__DR EQU CYREG_PRT0_DR\r
 SCSI_Out__9__INP_DIS EQU CYREG_PRT0_INP_DIS\r
+SCSI_Out__9__INTTYPE EQU CYREG_PICU0_INTTYPE2\r
 SCSI_Out__9__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG\r
 SCSI_Out__9__LCD_EN EQU CYREG_PRT0_LCD_EN\r
 SCSI_Out__9__MASK EQU 0x04\r
@@ -1581,6 +1633,7 @@ SCSI_Out__ACK__DM1 EQU CYREG_PRT6_DM1
 SCSI_Out__ACK__DM2 EQU CYREG_PRT6_DM2\r
 SCSI_Out__ACK__DR EQU CYREG_PRT6_DR\r
 SCSI_Out__ACK__INP_DIS EQU CYREG_PRT6_INP_DIS\r
+SCSI_Out__ACK__INTTYPE EQU CYREG_PICU6_INTTYPE0\r
 SCSI_Out__ACK__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG\r
 SCSI_Out__ACK__LCD_EN EQU CYREG_PRT6_LCD_EN\r
 SCSI_Out__ACK__MASK EQU 0x01\r
@@ -1608,6 +1661,7 @@ SCSI_Out__ATN__DM1 EQU CYREG_PRT15_DM1
 SCSI_Out__ATN__DM2 EQU CYREG_PRT15_DM2\r
 SCSI_Out__ATN__DR EQU CYREG_PRT15_DR\r
 SCSI_Out__ATN__INP_DIS EQU CYREG_PRT15_INP_DIS\r
+SCSI_Out__ATN__INTTYPE EQU CYREG_PICU15_INTTYPE4\r
 SCSI_Out__ATN__LCD_COM_SEG EQU CYREG_PRT15_LCD_COM_SEG\r
 SCSI_Out__ATN__LCD_EN EQU CYREG_PRT15_LCD_EN\r
 SCSI_Out__ATN__MASK EQU 0x10\r
@@ -1635,6 +1689,7 @@ SCSI_Out__BSY__DM1 EQU CYREG_PRT6_DM1
 SCSI_Out__BSY__DM2 EQU CYREG_PRT6_DM2\r
 SCSI_Out__BSY__DR EQU CYREG_PRT6_DR\r
 SCSI_Out__BSY__INP_DIS EQU CYREG_PRT6_INP_DIS\r
+SCSI_Out__BSY__INTTYPE EQU CYREG_PICU6_INTTYPE1\r
 SCSI_Out__BSY__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG\r
 SCSI_Out__BSY__LCD_EN EQU CYREG_PRT6_LCD_EN\r
 SCSI_Out__BSY__MASK EQU 0x02\r
@@ -1662,6 +1717,7 @@ SCSI_Out__CD_raw__DM1 EQU CYREG_PRT0_DM1
 SCSI_Out__CD_raw__DM2 EQU CYREG_PRT0_DM2\r
 SCSI_Out__CD_raw__DR EQU CYREG_PRT0_DR\r
 SCSI_Out__CD_raw__INP_DIS EQU CYREG_PRT0_INP_DIS\r
+SCSI_Out__CD_raw__INTTYPE EQU CYREG_PICU0_INTTYPE6\r
 SCSI_Out__CD_raw__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG\r
 SCSI_Out__CD_raw__LCD_EN EQU CYREG_PRT0_LCD_EN\r
 SCSI_Out__CD_raw__MASK EQU 0x40\r
@@ -1689,6 +1745,7 @@ SCSI_Out__DBP_raw__DM1 EQU CYREG_PRT15_DM1
 SCSI_Out__DBP_raw__DM2 EQU CYREG_PRT15_DM2\r
 SCSI_Out__DBP_raw__DR EQU CYREG_PRT15_DR\r
 SCSI_Out__DBP_raw__INP_DIS EQU CYREG_PRT15_INP_DIS\r
+SCSI_Out__DBP_raw__INTTYPE EQU CYREG_PICU15_INTTYPE5\r
 SCSI_Out__DBP_raw__LCD_COM_SEG EQU CYREG_PRT15_LCD_COM_SEG\r
 SCSI_Out__DBP_raw__LCD_EN EQU CYREG_PRT15_LCD_EN\r
 SCSI_Out__DBP_raw__MASK EQU 0x20\r
@@ -1716,6 +1773,7 @@ SCSI_Out__IO_raw__DM1 EQU CYREG_PRT0_DM1
 SCSI_Out__IO_raw__DM2 EQU CYREG_PRT0_DM2\r
 SCSI_Out__IO_raw__DR EQU CYREG_PRT0_DR\r
 SCSI_Out__IO_raw__INP_DIS EQU CYREG_PRT0_INP_DIS\r
+SCSI_Out__IO_raw__INTTYPE EQU CYREG_PICU0_INTTYPE2\r
 SCSI_Out__IO_raw__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG\r
 SCSI_Out__IO_raw__LCD_EN EQU CYREG_PRT0_LCD_EN\r
 SCSI_Out__IO_raw__MASK EQU 0x04\r
@@ -1743,6 +1801,7 @@ SCSI_Out__MSG_raw__DM1 EQU CYREG_PRT4_DM1
 SCSI_Out__MSG_raw__DM2 EQU CYREG_PRT4_DM2\r
 SCSI_Out__MSG_raw__DR EQU CYREG_PRT4_DR\r
 SCSI_Out__MSG_raw__INP_DIS EQU CYREG_PRT4_INP_DIS\r
+SCSI_Out__MSG_raw__INTTYPE EQU CYREG_PICU4_INTTYPE4\r
 SCSI_Out__MSG_raw__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG\r
 SCSI_Out__MSG_raw__LCD_EN EQU CYREG_PRT4_LCD_EN\r
 SCSI_Out__MSG_raw__MASK EQU 0x10\r
@@ -1770,6 +1829,7 @@ SCSI_Out__REQ__DM1 EQU CYREG_PRT0_DM1
 SCSI_Out__REQ__DM2 EQU CYREG_PRT0_DM2\r
 SCSI_Out__REQ__DR EQU CYREG_PRT0_DR\r
 SCSI_Out__REQ__INP_DIS EQU CYREG_PRT0_INP_DIS\r
+SCSI_Out__REQ__INTTYPE EQU CYREG_PICU0_INTTYPE3\r
 SCSI_Out__REQ__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG\r
 SCSI_Out__REQ__LCD_EN EQU CYREG_PRT0_LCD_EN\r
 SCSI_Out__REQ__MASK EQU 0x08\r
@@ -1797,6 +1857,7 @@ SCSI_Out__RST__DM1 EQU CYREG_PRT4_DM1
 SCSI_Out__RST__DM2 EQU CYREG_PRT4_DM2\r
 SCSI_Out__RST__DR EQU CYREG_PRT4_DR\r
 SCSI_Out__RST__INP_DIS EQU CYREG_PRT4_INP_DIS\r
+SCSI_Out__RST__INTTYPE EQU CYREG_PICU4_INTTYPE5\r
 SCSI_Out__RST__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG\r
 SCSI_Out__RST__LCD_EN EQU CYREG_PRT4_LCD_EN\r
 SCSI_Out__RST__MASK EQU 0x20\r
@@ -1824,6 +1885,7 @@ SCSI_Out__SEL__DM1 EQU CYREG_PRT0_DM1
 SCSI_Out__SEL__DM2 EQU CYREG_PRT0_DM2\r
 SCSI_Out__SEL__DR EQU CYREG_PRT0_DR\r
 SCSI_Out__SEL__INP_DIS EQU CYREG_PRT0_INP_DIS\r
+SCSI_Out__SEL__INTTYPE EQU CYREG_PICU0_INTTYPE7\r
 SCSI_Out__SEL__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG\r
 SCSI_Out__SEL__LCD_EN EQU CYREG_PRT0_LCD_EN\r
 SCSI_Out__SEL__MASK EQU 0x80\r
@@ -1846,15 +1908,15 @@ SCSI_Out_Bits_Sync_ctrl_reg__0__MASK EQU 0x01
 SCSI_Out_Bits_Sync_ctrl_reg__0__POS EQU 0\r
 SCSI_Out_Bits_Sync_ctrl_reg__1__MASK EQU 0x02\r
 SCSI_Out_Bits_Sync_ctrl_reg__1__POS EQU 1\r
-SCSI_Out_Bits_Sync_ctrl_reg__16BIT_CONTROL_AUX_CTL_REG EQU CYREG_B1_UDB07_08_ACTL\r
-SCSI_Out_Bits_Sync_ctrl_reg__16BIT_CONTROL_CONTROL_REG EQU CYREG_B1_UDB07_08_CTL\r
-SCSI_Out_Bits_Sync_ctrl_reg__16BIT_CONTROL_COUNT_REG EQU CYREG_B1_UDB07_08_CTL\r
-SCSI_Out_Bits_Sync_ctrl_reg__16BIT_COUNT_CONTROL_REG EQU CYREG_B1_UDB07_08_CTL\r
-SCSI_Out_Bits_Sync_ctrl_reg__16BIT_COUNT_COUNT_REG EQU CYREG_B1_UDB07_08_CTL\r
-SCSI_Out_Bits_Sync_ctrl_reg__16BIT_MASK_MASK_REG EQU CYREG_B1_UDB07_08_MSK\r
-SCSI_Out_Bits_Sync_ctrl_reg__16BIT_MASK_PERIOD_REG EQU CYREG_B1_UDB07_08_MSK\r
-SCSI_Out_Bits_Sync_ctrl_reg__16BIT_PERIOD_MASK_REG EQU CYREG_B1_UDB07_08_MSK\r
-SCSI_Out_Bits_Sync_ctrl_reg__16BIT_PERIOD_PERIOD_REG EQU CYREG_B1_UDB07_08_MSK\r
+SCSI_Out_Bits_Sync_ctrl_reg__16BIT_CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB03_04_ACTL\r
+SCSI_Out_Bits_Sync_ctrl_reg__16BIT_CONTROL_CONTROL_REG EQU CYREG_B0_UDB03_04_CTL\r
+SCSI_Out_Bits_Sync_ctrl_reg__16BIT_CONTROL_COUNT_REG EQU CYREG_B0_UDB03_04_CTL\r
+SCSI_Out_Bits_Sync_ctrl_reg__16BIT_COUNT_CONTROL_REG EQU CYREG_B0_UDB03_04_CTL\r
+SCSI_Out_Bits_Sync_ctrl_reg__16BIT_COUNT_COUNT_REG EQU CYREG_B0_UDB03_04_CTL\r
+SCSI_Out_Bits_Sync_ctrl_reg__16BIT_MASK_MASK_REG EQU CYREG_B0_UDB03_04_MSK\r
+SCSI_Out_Bits_Sync_ctrl_reg__16BIT_MASK_PERIOD_REG EQU CYREG_B0_UDB03_04_MSK\r
+SCSI_Out_Bits_Sync_ctrl_reg__16BIT_PERIOD_MASK_REG EQU CYREG_B0_UDB03_04_MSK\r
+SCSI_Out_Bits_Sync_ctrl_reg__16BIT_PERIOD_PERIOD_REG EQU CYREG_B0_UDB03_04_MSK\r
 SCSI_Out_Bits_Sync_ctrl_reg__2__MASK EQU 0x04\r
 SCSI_Out_Bits_Sync_ctrl_reg__2__POS EQU 2\r
 SCSI_Out_Bits_Sync_ctrl_reg__3__MASK EQU 0x08\r
@@ -1867,37 +1929,37 @@ SCSI_Out_Bits_Sync_ctrl_reg__6__MASK EQU 0x40
 SCSI_Out_Bits_Sync_ctrl_reg__6__POS EQU 6\r
 SCSI_Out_Bits_Sync_ctrl_reg__7__MASK EQU 0x80\r
 SCSI_Out_Bits_Sync_ctrl_reg__7__POS EQU 7\r
-SCSI_Out_Bits_Sync_ctrl_reg__CONTROL_AUX_CTL_REG EQU CYREG_B1_UDB07_ACTL\r
-SCSI_Out_Bits_Sync_ctrl_reg__CONTROL_REG EQU CYREG_B1_UDB07_CTL\r
-SCSI_Out_Bits_Sync_ctrl_reg__CONTROL_ST_REG EQU CYREG_B1_UDB07_ST_CTL\r
-SCSI_Out_Bits_Sync_ctrl_reg__COUNT_REG EQU CYREG_B1_UDB07_CTL\r
-SCSI_Out_Bits_Sync_ctrl_reg__COUNT_ST_REG EQU CYREG_B1_UDB07_ST_CTL\r
+SCSI_Out_Bits_Sync_ctrl_reg__CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB03_ACTL\r
+SCSI_Out_Bits_Sync_ctrl_reg__CONTROL_REG EQU CYREG_B0_UDB03_CTL\r
+SCSI_Out_Bits_Sync_ctrl_reg__CONTROL_ST_REG EQU CYREG_B0_UDB03_ST_CTL\r
+SCSI_Out_Bits_Sync_ctrl_reg__COUNT_REG EQU CYREG_B0_UDB03_CTL\r
+SCSI_Out_Bits_Sync_ctrl_reg__COUNT_ST_REG EQU CYREG_B0_UDB03_ST_CTL\r
 SCSI_Out_Bits_Sync_ctrl_reg__MASK EQU 0xFF\r
-SCSI_Out_Bits_Sync_ctrl_reg__MASK_CTL_AUX_CTL_REG EQU CYREG_B1_UDB07_MSK_ACTL\r
-SCSI_Out_Bits_Sync_ctrl_reg__PER_CTL_AUX_CTL_REG EQU CYREG_B1_UDB07_MSK_ACTL\r
-SCSI_Out_Bits_Sync_ctrl_reg__PERIOD_REG EQU CYREG_B1_UDB07_MSK\r
+SCSI_Out_Bits_Sync_ctrl_reg__MASK_CTL_AUX_CTL_REG EQU CYREG_B0_UDB03_MSK_ACTL\r
+SCSI_Out_Bits_Sync_ctrl_reg__PER_CTL_AUX_CTL_REG EQU CYREG_B0_UDB03_MSK_ACTL\r
+SCSI_Out_Bits_Sync_ctrl_reg__PERIOD_REG EQU CYREG_B0_UDB03_MSK\r
 \r
 ; SCSI_Out_Ctl\r
 SCSI_Out_Ctl_Sync_ctrl_reg__0__MASK EQU 0x01\r
 SCSI_Out_Ctl_Sync_ctrl_reg__0__POS EQU 0\r
-SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_CONTROL_AUX_CTL_REG EQU CYREG_B1_UDB04_05_ACTL\r
-SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_CONTROL_CONTROL_REG EQU CYREG_B1_UDB04_05_CTL\r
-SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_CONTROL_COUNT_REG EQU CYREG_B1_UDB04_05_CTL\r
-SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_COUNT_CONTROL_REG EQU CYREG_B1_UDB04_05_CTL\r
-SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_COUNT_COUNT_REG EQU CYREG_B1_UDB04_05_CTL\r
-SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_MASK_MASK_REG EQU CYREG_B1_UDB04_05_MSK\r
-SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_MASK_PERIOD_REG EQU CYREG_B1_UDB04_05_MSK\r
-SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_PERIOD_MASK_REG EQU CYREG_B1_UDB04_05_MSK\r
-SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_PERIOD_PERIOD_REG EQU CYREG_B1_UDB04_05_MSK\r
-SCSI_Out_Ctl_Sync_ctrl_reg__CONTROL_AUX_CTL_REG EQU CYREG_B1_UDB04_ACTL\r
-SCSI_Out_Ctl_Sync_ctrl_reg__CONTROL_REG EQU CYREG_B1_UDB04_CTL\r
-SCSI_Out_Ctl_Sync_ctrl_reg__CONTROL_ST_REG EQU CYREG_B1_UDB04_ST_CTL\r
-SCSI_Out_Ctl_Sync_ctrl_reg__COUNT_REG EQU CYREG_B1_UDB04_CTL\r
-SCSI_Out_Ctl_Sync_ctrl_reg__COUNT_ST_REG EQU CYREG_B1_UDB04_ST_CTL\r
+SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB04_05_ACTL\r
+SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_CONTROL_CONTROL_REG EQU CYREG_B0_UDB04_05_CTL\r
+SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_CONTROL_COUNT_REG EQU CYREG_B0_UDB04_05_CTL\r
+SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_COUNT_CONTROL_REG EQU CYREG_B0_UDB04_05_CTL\r
+SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_COUNT_COUNT_REG EQU CYREG_B0_UDB04_05_CTL\r
+SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_MASK_MASK_REG EQU CYREG_B0_UDB04_05_MSK\r
+SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_MASK_PERIOD_REG EQU CYREG_B0_UDB04_05_MSK\r
+SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_PERIOD_MASK_REG EQU CYREG_B0_UDB04_05_MSK\r
+SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_PERIOD_PERIOD_REG EQU CYREG_B0_UDB04_05_MSK\r
+SCSI_Out_Ctl_Sync_ctrl_reg__CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB04_ACTL\r
+SCSI_Out_Ctl_Sync_ctrl_reg__CONTROL_REG EQU CYREG_B0_UDB04_CTL\r
+SCSI_Out_Ctl_Sync_ctrl_reg__CONTROL_ST_REG EQU CYREG_B0_UDB04_ST_CTL\r
+SCSI_Out_Ctl_Sync_ctrl_reg__COUNT_REG EQU CYREG_B0_UDB04_CTL\r
+SCSI_Out_Ctl_Sync_ctrl_reg__COUNT_ST_REG EQU CYREG_B0_UDB04_ST_CTL\r
 SCSI_Out_Ctl_Sync_ctrl_reg__MASK EQU 0x01\r
-SCSI_Out_Ctl_Sync_ctrl_reg__MASK_CTL_AUX_CTL_REG EQU CYREG_B1_UDB04_MSK_ACTL\r
-SCSI_Out_Ctl_Sync_ctrl_reg__PER_CTL_AUX_CTL_REG EQU CYREG_B1_UDB04_MSK_ACTL\r
-SCSI_Out_Ctl_Sync_ctrl_reg__PERIOD_REG EQU CYREG_B1_UDB04_MSK\r
+SCSI_Out_Ctl_Sync_ctrl_reg__MASK_CTL_AUX_CTL_REG EQU CYREG_B0_UDB04_MSK_ACTL\r
+SCSI_Out_Ctl_Sync_ctrl_reg__PER_CTL_AUX_CTL_REG EQU CYREG_B0_UDB04_MSK_ACTL\r
+SCSI_Out_Ctl_Sync_ctrl_reg__PERIOD_REG EQU CYREG_B0_UDB04_MSK\r
 \r
 ; SCSI_Out_DBx\r
 SCSI_Out_DBx__0__AG EQU CYREG_PRT5_AG\r
@@ -1911,6 +1973,7 @@ SCSI_Out_DBx__0__DM1 EQU CYREG_PRT5_DM1
 SCSI_Out_DBx__0__DM2 EQU CYREG_PRT5_DM2\r
 SCSI_Out_DBx__0__DR EQU CYREG_PRT5_DR\r
 SCSI_Out_DBx__0__INP_DIS EQU CYREG_PRT5_INP_DIS\r
+SCSI_Out_DBx__0__INTTYPE EQU CYREG_PICU5_INTTYPE1\r
 SCSI_Out_DBx__0__LCD_COM_SEG EQU CYREG_PRT5_LCD_COM_SEG\r
 SCSI_Out_DBx__0__LCD_EN EQU CYREG_PRT5_LCD_EN\r
 SCSI_Out_DBx__0__MASK EQU 0x02\r
@@ -1938,6 +2001,7 @@ SCSI_Out_DBx__1__DM1 EQU CYREG_PRT5_DM1
 SCSI_Out_DBx__1__DM2 EQU CYREG_PRT5_DM2\r
 SCSI_Out_DBx__1__DR EQU CYREG_PRT5_DR\r
 SCSI_Out_DBx__1__INP_DIS EQU CYREG_PRT5_INP_DIS\r
+SCSI_Out_DBx__1__INTTYPE EQU CYREG_PICU5_INTTYPE0\r
 SCSI_Out_DBx__1__LCD_COM_SEG EQU CYREG_PRT5_LCD_COM_SEG\r
 SCSI_Out_DBx__1__LCD_EN EQU CYREG_PRT5_LCD_EN\r
 SCSI_Out_DBx__1__MASK EQU 0x01\r
@@ -1965,6 +2029,7 @@ SCSI_Out_DBx__2__DM1 EQU CYREG_PRT6_DM1
 SCSI_Out_DBx__2__DM2 EQU CYREG_PRT6_DM2\r
 SCSI_Out_DBx__2__DR EQU CYREG_PRT6_DR\r
 SCSI_Out_DBx__2__INP_DIS EQU CYREG_PRT6_INP_DIS\r
+SCSI_Out_DBx__2__INTTYPE EQU CYREG_PICU6_INTTYPE5\r
 SCSI_Out_DBx__2__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG\r
 SCSI_Out_DBx__2__LCD_EN EQU CYREG_PRT6_LCD_EN\r
 SCSI_Out_DBx__2__MASK EQU 0x20\r
@@ -1992,6 +2057,7 @@ SCSI_Out_DBx__3__DM1 EQU CYREG_PRT6_DM1
 SCSI_Out_DBx__3__DM2 EQU CYREG_PRT6_DM2\r
 SCSI_Out_DBx__3__DR EQU CYREG_PRT6_DR\r
 SCSI_Out_DBx__3__INP_DIS EQU CYREG_PRT6_INP_DIS\r
+SCSI_Out_DBx__3__INTTYPE EQU CYREG_PICU6_INTTYPE4\r
 SCSI_Out_DBx__3__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG\r
 SCSI_Out_DBx__3__LCD_EN EQU CYREG_PRT6_LCD_EN\r
 SCSI_Out_DBx__3__MASK EQU 0x10\r
@@ -2019,6 +2085,7 @@ SCSI_Out_DBx__4__DM1 EQU CYREG_PRT2_DM1
 SCSI_Out_DBx__4__DM2 EQU CYREG_PRT2_DM2\r
 SCSI_Out_DBx__4__DR EQU CYREG_PRT2_DR\r
 SCSI_Out_DBx__4__INP_DIS EQU CYREG_PRT2_INP_DIS\r
+SCSI_Out_DBx__4__INTTYPE EQU CYREG_PICU2_INTTYPE7\r
 SCSI_Out_DBx__4__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG\r
 SCSI_Out_DBx__4__LCD_EN EQU CYREG_PRT2_LCD_EN\r
 SCSI_Out_DBx__4__MASK EQU 0x80\r
@@ -2046,6 +2113,7 @@ SCSI_Out_DBx__5__DM1 EQU CYREG_PRT2_DM1
 SCSI_Out_DBx__5__DM2 EQU CYREG_PRT2_DM2\r
 SCSI_Out_DBx__5__DR EQU CYREG_PRT2_DR\r
 SCSI_Out_DBx__5__INP_DIS EQU CYREG_PRT2_INP_DIS\r
+SCSI_Out_DBx__5__INTTYPE EQU CYREG_PICU2_INTTYPE6\r
 SCSI_Out_DBx__5__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG\r
 SCSI_Out_DBx__5__LCD_EN EQU CYREG_PRT2_LCD_EN\r
 SCSI_Out_DBx__5__MASK EQU 0x40\r
@@ -2073,6 +2141,7 @@ SCSI_Out_DBx__6__DM1 EQU CYREG_PRT2_DM1
 SCSI_Out_DBx__6__DM2 EQU CYREG_PRT2_DM2\r
 SCSI_Out_DBx__6__DR EQU CYREG_PRT2_DR\r
 SCSI_Out_DBx__6__INP_DIS EQU CYREG_PRT2_INP_DIS\r
+SCSI_Out_DBx__6__INTTYPE EQU CYREG_PICU2_INTTYPE3\r
 SCSI_Out_DBx__6__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG\r
 SCSI_Out_DBx__6__LCD_EN EQU CYREG_PRT2_LCD_EN\r
 SCSI_Out_DBx__6__MASK EQU 0x08\r
@@ -2100,6 +2169,7 @@ SCSI_Out_DBx__7__DM1 EQU CYREG_PRT2_DM1
 SCSI_Out_DBx__7__DM2 EQU CYREG_PRT2_DM2\r
 SCSI_Out_DBx__7__DR EQU CYREG_PRT2_DR\r
 SCSI_Out_DBx__7__INP_DIS EQU CYREG_PRT2_INP_DIS\r
+SCSI_Out_DBx__7__INTTYPE EQU CYREG_PICU2_INTTYPE2\r
 SCSI_Out_DBx__7__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG\r
 SCSI_Out_DBx__7__LCD_EN EQU CYREG_PRT2_LCD_EN\r
 SCSI_Out_DBx__7__MASK EQU 0x04\r
@@ -2127,6 +2197,7 @@ SCSI_Out_DBx__DB0__DM1 EQU CYREG_PRT5_DM1
 SCSI_Out_DBx__DB0__DM2 EQU CYREG_PRT5_DM2\r
 SCSI_Out_DBx__DB0__DR EQU CYREG_PRT5_DR\r
 SCSI_Out_DBx__DB0__INP_DIS EQU CYREG_PRT5_INP_DIS\r
+SCSI_Out_DBx__DB0__INTTYPE EQU CYREG_PICU5_INTTYPE1\r
 SCSI_Out_DBx__DB0__LCD_COM_SEG EQU CYREG_PRT5_LCD_COM_SEG\r
 SCSI_Out_DBx__DB0__LCD_EN EQU CYREG_PRT5_LCD_EN\r
 SCSI_Out_DBx__DB0__MASK EQU 0x02\r
@@ -2154,6 +2225,7 @@ SCSI_Out_DBx__DB1__DM1 EQU CYREG_PRT5_DM1
 SCSI_Out_DBx__DB1__DM2 EQU CYREG_PRT5_DM2\r
 SCSI_Out_DBx__DB1__DR EQU CYREG_PRT5_DR\r
 SCSI_Out_DBx__DB1__INP_DIS EQU CYREG_PRT5_INP_DIS\r
+SCSI_Out_DBx__DB1__INTTYPE EQU CYREG_PICU5_INTTYPE0\r
 SCSI_Out_DBx__DB1__LCD_COM_SEG EQU CYREG_PRT5_LCD_COM_SEG\r
 SCSI_Out_DBx__DB1__LCD_EN EQU CYREG_PRT5_LCD_EN\r
 SCSI_Out_DBx__DB1__MASK EQU 0x01\r
@@ -2181,6 +2253,7 @@ SCSI_Out_DBx__DB2__DM1 EQU CYREG_PRT6_DM1
 SCSI_Out_DBx__DB2__DM2 EQU CYREG_PRT6_DM2\r
 SCSI_Out_DBx__DB2__DR EQU CYREG_PRT6_DR\r
 SCSI_Out_DBx__DB2__INP_DIS EQU CYREG_PRT6_INP_DIS\r
+SCSI_Out_DBx__DB2__INTTYPE EQU CYREG_PICU6_INTTYPE5\r
 SCSI_Out_DBx__DB2__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG\r
 SCSI_Out_DBx__DB2__LCD_EN EQU CYREG_PRT6_LCD_EN\r
 SCSI_Out_DBx__DB2__MASK EQU 0x20\r
@@ -2208,6 +2281,7 @@ SCSI_Out_DBx__DB3__DM1 EQU CYREG_PRT6_DM1
 SCSI_Out_DBx__DB3__DM2 EQU CYREG_PRT6_DM2\r
 SCSI_Out_DBx__DB3__DR EQU CYREG_PRT6_DR\r
 SCSI_Out_DBx__DB3__INP_DIS EQU CYREG_PRT6_INP_DIS\r
+SCSI_Out_DBx__DB3__INTTYPE EQU CYREG_PICU6_INTTYPE4\r
 SCSI_Out_DBx__DB3__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG\r
 SCSI_Out_DBx__DB3__LCD_EN EQU CYREG_PRT6_LCD_EN\r
 SCSI_Out_DBx__DB3__MASK EQU 0x10\r
@@ -2235,6 +2309,7 @@ SCSI_Out_DBx__DB4__DM1 EQU CYREG_PRT2_DM1
 SCSI_Out_DBx__DB4__DM2 EQU CYREG_PRT2_DM2\r
 SCSI_Out_DBx__DB4__DR EQU CYREG_PRT2_DR\r
 SCSI_Out_DBx__DB4__INP_DIS EQU CYREG_PRT2_INP_DIS\r
+SCSI_Out_DBx__DB4__INTTYPE EQU CYREG_PICU2_INTTYPE7\r
 SCSI_Out_DBx__DB4__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG\r
 SCSI_Out_DBx__DB4__LCD_EN EQU CYREG_PRT2_LCD_EN\r
 SCSI_Out_DBx__DB4__MASK EQU 0x80\r
@@ -2262,6 +2337,7 @@ SCSI_Out_DBx__DB5__DM1 EQU CYREG_PRT2_DM1
 SCSI_Out_DBx__DB5__DM2 EQU CYREG_PRT2_DM2\r
 SCSI_Out_DBx__DB5__DR EQU CYREG_PRT2_DR\r
 SCSI_Out_DBx__DB5__INP_DIS EQU CYREG_PRT2_INP_DIS\r
+SCSI_Out_DBx__DB5__INTTYPE EQU CYREG_PICU2_INTTYPE6\r
 SCSI_Out_DBx__DB5__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG\r
 SCSI_Out_DBx__DB5__LCD_EN EQU CYREG_PRT2_LCD_EN\r
 SCSI_Out_DBx__DB5__MASK EQU 0x40\r
@@ -2289,6 +2365,7 @@ SCSI_Out_DBx__DB6__DM1 EQU CYREG_PRT2_DM1
 SCSI_Out_DBx__DB6__DM2 EQU CYREG_PRT2_DM2\r
 SCSI_Out_DBx__DB6__DR EQU CYREG_PRT2_DR\r
 SCSI_Out_DBx__DB6__INP_DIS EQU CYREG_PRT2_INP_DIS\r
+SCSI_Out_DBx__DB6__INTTYPE EQU CYREG_PICU2_INTTYPE3\r
 SCSI_Out_DBx__DB6__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG\r
 SCSI_Out_DBx__DB6__LCD_EN EQU CYREG_PRT2_LCD_EN\r
 SCSI_Out_DBx__DB6__MASK EQU 0x08\r
@@ -2316,6 +2393,7 @@ SCSI_Out_DBx__DB7__DM1 EQU CYREG_PRT2_DM1
 SCSI_Out_DBx__DB7__DM2 EQU CYREG_PRT2_DM2\r
 SCSI_Out_DBx__DB7__DR EQU CYREG_PRT2_DR\r
 SCSI_Out_DBx__DB7__INP_DIS EQU CYREG_PRT2_INP_DIS\r
+SCSI_Out_DBx__DB7__INTTYPE EQU CYREG_PICU2_INTTYPE2\r
 SCSI_Out_DBx__DB7__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG\r
 SCSI_Out_DBx__DB7__LCD_EN EQU CYREG_PRT2_LCD_EN\r
 SCSI_Out_DBx__DB7__MASK EQU 0x04\r
@@ -2389,6 +2467,7 @@ SCSI_Noise__0__DM1 EQU CYREG_PRT2_DM1
 SCSI_Noise__0__DM2 EQU CYREG_PRT2_DM2\r
 SCSI_Noise__0__DR EQU CYREG_PRT2_DR\r
 SCSI_Noise__0__INP_DIS EQU CYREG_PRT2_INP_DIS\r
+SCSI_Noise__0__INTTYPE EQU CYREG_PICU2_INTTYPE0\r
 SCSI_Noise__0__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG\r
 SCSI_Noise__0__LCD_EN EQU CYREG_PRT2_LCD_EN\r
 SCSI_Noise__0__MASK EQU 0x01\r
@@ -2416,6 +2495,7 @@ SCSI_Noise__1__DM1 EQU CYREG_PRT6_DM1
 SCSI_Noise__1__DM2 EQU CYREG_PRT6_DM2\r
 SCSI_Noise__1__DR EQU CYREG_PRT6_DR\r
 SCSI_Noise__1__INP_DIS EQU CYREG_PRT6_INP_DIS\r
+SCSI_Noise__1__INTTYPE EQU CYREG_PICU6_INTTYPE3\r
 SCSI_Noise__1__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG\r
 SCSI_Noise__1__LCD_EN EQU CYREG_PRT6_LCD_EN\r
 SCSI_Noise__1__MASK EQU 0x08\r
@@ -2443,6 +2523,7 @@ SCSI_Noise__2__DM1 EQU CYREG_PRT4_DM1
 SCSI_Noise__2__DM2 EQU CYREG_PRT4_DM2\r
 SCSI_Noise__2__DR EQU CYREG_PRT4_DR\r
 SCSI_Noise__2__INP_DIS EQU CYREG_PRT4_INP_DIS\r
+SCSI_Noise__2__INTTYPE EQU CYREG_PICU4_INTTYPE3\r
 SCSI_Noise__2__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG\r
 SCSI_Noise__2__LCD_EN EQU CYREG_PRT4_LCD_EN\r
 SCSI_Noise__2__MASK EQU 0x08\r
@@ -2470,6 +2551,7 @@ SCSI_Noise__3__DM1 EQU CYREG_PRT4_DM1
 SCSI_Noise__3__DM2 EQU CYREG_PRT4_DM2\r
 SCSI_Noise__3__DR EQU CYREG_PRT4_DR\r
 SCSI_Noise__3__INP_DIS EQU CYREG_PRT4_INP_DIS\r
+SCSI_Noise__3__INTTYPE EQU CYREG_PICU4_INTTYPE7\r
 SCSI_Noise__3__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG\r
 SCSI_Noise__3__LCD_EN EQU CYREG_PRT4_LCD_EN\r
 SCSI_Noise__3__MASK EQU 0x80\r
@@ -2497,6 +2579,7 @@ SCSI_Noise__4__DM1 EQU CYREG_PRT6_DM1
 SCSI_Noise__4__DM2 EQU CYREG_PRT6_DM2\r
 SCSI_Noise__4__DR EQU CYREG_PRT6_DR\r
 SCSI_Noise__4__INP_DIS EQU CYREG_PRT6_INP_DIS\r
+SCSI_Noise__4__INTTYPE EQU CYREG_PICU6_INTTYPE2\r
 SCSI_Noise__4__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG\r
 SCSI_Noise__4__LCD_EN EQU CYREG_PRT6_LCD_EN\r
 SCSI_Noise__4__MASK EQU 0x04\r
@@ -2524,6 +2607,7 @@ SCSI_Noise__ACK__DM1 EQU CYREG_PRT6_DM1
 SCSI_Noise__ACK__DM2 EQU CYREG_PRT6_DM2\r
 SCSI_Noise__ACK__DR EQU CYREG_PRT6_DR\r
 SCSI_Noise__ACK__INP_DIS EQU CYREG_PRT6_INP_DIS\r
+SCSI_Noise__ACK__INTTYPE EQU CYREG_PICU6_INTTYPE2\r
 SCSI_Noise__ACK__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG\r
 SCSI_Noise__ACK__LCD_EN EQU CYREG_PRT6_LCD_EN\r
 SCSI_Noise__ACK__MASK EQU 0x04\r
@@ -2551,6 +2635,7 @@ SCSI_Noise__ATN__DM1 EQU CYREG_PRT2_DM1
 SCSI_Noise__ATN__DM2 EQU CYREG_PRT2_DM2\r
 SCSI_Noise__ATN__DR EQU CYREG_PRT2_DR\r
 SCSI_Noise__ATN__INP_DIS EQU CYREG_PRT2_INP_DIS\r
+SCSI_Noise__ATN__INTTYPE EQU CYREG_PICU2_INTTYPE0\r
 SCSI_Noise__ATN__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG\r
 SCSI_Noise__ATN__LCD_EN EQU CYREG_PRT2_LCD_EN\r
 SCSI_Noise__ATN__MASK EQU 0x01\r
@@ -2578,6 +2663,7 @@ SCSI_Noise__BSY__DM1 EQU CYREG_PRT6_DM1
 SCSI_Noise__BSY__DM2 EQU CYREG_PRT6_DM2\r
 SCSI_Noise__BSY__DR EQU CYREG_PRT6_DR\r
 SCSI_Noise__BSY__INP_DIS EQU CYREG_PRT6_INP_DIS\r
+SCSI_Noise__BSY__INTTYPE EQU CYREG_PICU6_INTTYPE3\r
 SCSI_Noise__BSY__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG\r
 SCSI_Noise__BSY__LCD_EN EQU CYREG_PRT6_LCD_EN\r
 SCSI_Noise__BSY__MASK EQU 0x08\r
@@ -2605,6 +2691,7 @@ SCSI_Noise__RST__DM1 EQU CYREG_PRT4_DM1
 SCSI_Noise__RST__DM2 EQU CYREG_PRT4_DM2\r
 SCSI_Noise__RST__DR EQU CYREG_PRT4_DR\r
 SCSI_Noise__RST__INP_DIS EQU CYREG_PRT4_INP_DIS\r
+SCSI_Noise__RST__INTTYPE EQU CYREG_PICU4_INTTYPE7\r
 SCSI_Noise__RST__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG\r
 SCSI_Noise__RST__LCD_EN EQU CYREG_PRT4_LCD_EN\r
 SCSI_Noise__RST__MASK EQU 0x80\r
@@ -2632,6 +2719,7 @@ SCSI_Noise__SEL__DM1 EQU CYREG_PRT4_DM1
 SCSI_Noise__SEL__DM2 EQU CYREG_PRT4_DM2\r
 SCSI_Noise__SEL__DR EQU CYREG_PRT4_DR\r
 SCSI_Noise__SEL__INP_DIS EQU CYREG_PRT4_INP_DIS\r
+SCSI_Noise__SEL__INTTYPE EQU CYREG_PICU4_INTTYPE3\r
 SCSI_Noise__SEL__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG\r
 SCSI_Noise__SEL__LCD_EN EQU CYREG_PRT4_LCD_EN\r
 SCSI_Noise__SEL__MASK EQU 0x08\r
@@ -2699,8 +2787,8 @@ scsiTarget_StatusReg__0__MASK EQU 0x01
 scsiTarget_StatusReg__0__POS EQU 0\r
 scsiTarget_StatusReg__1__MASK EQU 0x02\r
 scsiTarget_StatusReg__1__POS EQU 1\r
-scsiTarget_StatusReg__16BIT_STATUS_AUX_CTL_REG EQU CYREG_B0_UDB07_08_ACTL\r
-scsiTarget_StatusReg__16BIT_STATUS_REG EQU CYREG_B0_UDB07_08_ST\r
+scsiTarget_StatusReg__16BIT_STATUS_AUX_CTL_REG EQU CYREG_B0_UDB04_05_ACTL\r
+scsiTarget_StatusReg__16BIT_STATUS_REG EQU CYREG_B0_UDB04_05_ST\r
 scsiTarget_StatusReg__2__MASK EQU 0x04\r
 scsiTarget_StatusReg__2__POS EQU 2\r
 scsiTarget_StatusReg__3__MASK EQU 0x08\r
@@ -2708,9 +2796,13 @@ scsiTarget_StatusReg__3__POS EQU 3
 scsiTarget_StatusReg__4__MASK EQU 0x10\r
 scsiTarget_StatusReg__4__POS EQU 4\r
 scsiTarget_StatusReg__MASK EQU 0x1F\r
-scsiTarget_StatusReg__MASK_REG EQU CYREG_B0_UDB07_MSK\r
-scsiTarget_StatusReg__STATUS_AUX_CTL_REG EQU CYREG_B0_UDB07_ACTL\r
-scsiTarget_StatusReg__STATUS_REG EQU CYREG_B0_UDB07_ST\r
+scsiTarget_StatusReg__MASK_REG EQU CYREG_B0_UDB04_MSK\r
+scsiTarget_StatusReg__MASK_ST_AUX_CTL_REG EQU CYREG_B0_UDB04_MSK_ACTL\r
+scsiTarget_StatusReg__PER_ST_AUX_CTL_REG EQU CYREG_B0_UDB04_MSK_ACTL\r
+scsiTarget_StatusReg__STATUS_AUX_CTL_REG EQU CYREG_B0_UDB04_ACTL\r
+scsiTarget_StatusReg__STATUS_CNT_REG EQU CYREG_B0_UDB04_ST_CTL\r
+scsiTarget_StatusReg__STATUS_CONTROL_REG EQU CYREG_B0_UDB04_ST_CTL\r
+scsiTarget_StatusReg__STATUS_REG EQU CYREG_B0_UDB04_ST\r
 \r
 ; Debug_Timer_Interrupt\r
 Debug_Timer_Interrupt__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0\r
@@ -2831,8 +2923,8 @@ SCSI_Filtered_sts_sts_reg__0__MASK EQU 0x01
 SCSI_Filtered_sts_sts_reg__0__POS EQU 0\r
 SCSI_Filtered_sts_sts_reg__1__MASK EQU 0x02\r
 SCSI_Filtered_sts_sts_reg__1__POS EQU 1\r
-SCSI_Filtered_sts_sts_reg__16BIT_STATUS_AUX_CTL_REG EQU CYREG_B0_UDB11_12_ACTL\r
-SCSI_Filtered_sts_sts_reg__16BIT_STATUS_REG EQU CYREG_B0_UDB11_12_ST\r
+SCSI_Filtered_sts_sts_reg__16BIT_STATUS_AUX_CTL_REG EQU CYREG_B0_UDB08_09_ACTL\r
+SCSI_Filtered_sts_sts_reg__16BIT_STATUS_REG EQU CYREG_B0_UDB08_09_ST\r
 SCSI_Filtered_sts_sts_reg__2__MASK EQU 0x04\r
 SCSI_Filtered_sts_sts_reg__2__POS EQU 2\r
 SCSI_Filtered_sts_sts_reg__3__MASK EQU 0x08\r
@@ -2840,77 +2932,77 @@ SCSI_Filtered_sts_sts_reg__3__POS EQU 3
 SCSI_Filtered_sts_sts_reg__4__MASK EQU 0x10\r
 SCSI_Filtered_sts_sts_reg__4__POS EQU 4\r
 SCSI_Filtered_sts_sts_reg__MASK EQU 0x1F\r
-SCSI_Filtered_sts_sts_reg__MASK_REG EQU CYREG_B0_UDB11_MSK\r
-SCSI_Filtered_sts_sts_reg__STATUS_AUX_CTL_REG EQU CYREG_B0_UDB11_ACTL\r
-SCSI_Filtered_sts_sts_reg__STATUS_REG EQU CYREG_B0_UDB11_ST\r
+SCSI_Filtered_sts_sts_reg__MASK_REG EQU CYREG_B0_UDB08_MSK\r
+SCSI_Filtered_sts_sts_reg__STATUS_AUX_CTL_REG EQU CYREG_B0_UDB08_ACTL\r
+SCSI_Filtered_sts_sts_reg__STATUS_REG EQU CYREG_B0_UDB08_ST\r
 \r
 ; SCSI_CTL_PHASE\r
 SCSI_CTL_PHASE_Sync_ctrl_reg__0__MASK EQU 0x01\r
 SCSI_CTL_PHASE_Sync_ctrl_reg__0__POS EQU 0\r
 SCSI_CTL_PHASE_Sync_ctrl_reg__1__MASK EQU 0x02\r
 SCSI_CTL_PHASE_Sync_ctrl_reg__1__POS EQU 1\r
-SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB05_06_ACTL\r
-SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_CONTROL_CONTROL_REG EQU CYREG_B0_UDB05_06_CTL\r
-SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_CONTROL_COUNT_REG EQU CYREG_B0_UDB05_06_CTL\r
-SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_COUNT_CONTROL_REG EQU CYREG_B0_UDB05_06_CTL\r
-SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_COUNT_COUNT_REG EQU CYREG_B0_UDB05_06_CTL\r
-SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_MASK_MASK_REG EQU CYREG_B0_UDB05_06_MSK\r
-SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_MASK_PERIOD_REG EQU CYREG_B0_UDB05_06_MSK\r
-SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_PERIOD_MASK_REG EQU CYREG_B0_UDB05_06_MSK\r
-SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_PERIOD_PERIOD_REG EQU CYREG_B0_UDB05_06_MSK\r
+SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB12_13_ACTL\r
+SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_CONTROL_CONTROL_REG EQU CYREG_B0_UDB12_13_CTL\r
+SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_CONTROL_COUNT_REG EQU CYREG_B0_UDB12_13_CTL\r
+SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_COUNT_CONTROL_REG EQU CYREG_B0_UDB12_13_CTL\r
+SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_COUNT_COUNT_REG EQU CYREG_B0_UDB12_13_CTL\r
+SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_MASK_MASK_REG EQU CYREG_B0_UDB12_13_MSK\r
+SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_MASK_PERIOD_REG EQU CYREG_B0_UDB12_13_MSK\r
+SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_PERIOD_MASK_REG EQU CYREG_B0_UDB12_13_MSK\r
+SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_PERIOD_PERIOD_REG EQU CYREG_B0_UDB12_13_MSK\r
 SCSI_CTL_PHASE_Sync_ctrl_reg__2__MASK EQU 0x04\r
 SCSI_CTL_PHASE_Sync_ctrl_reg__2__POS EQU 2\r
-SCSI_CTL_PHASE_Sync_ctrl_reg__CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB05_ACTL\r
-SCSI_CTL_PHASE_Sync_ctrl_reg__CONTROL_REG EQU CYREG_B0_UDB05_CTL\r
-SCSI_CTL_PHASE_Sync_ctrl_reg__CONTROL_ST_REG EQU CYREG_B0_UDB05_ST_CTL\r
-SCSI_CTL_PHASE_Sync_ctrl_reg__COUNT_REG EQU CYREG_B0_UDB05_CTL\r
-SCSI_CTL_PHASE_Sync_ctrl_reg__COUNT_ST_REG EQU CYREG_B0_UDB05_ST_CTL\r
+SCSI_CTL_PHASE_Sync_ctrl_reg__CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB12_ACTL\r
+SCSI_CTL_PHASE_Sync_ctrl_reg__CONTROL_REG EQU CYREG_B0_UDB12_CTL\r
+SCSI_CTL_PHASE_Sync_ctrl_reg__CONTROL_ST_REG EQU CYREG_B0_UDB12_ST_CTL\r
+SCSI_CTL_PHASE_Sync_ctrl_reg__COUNT_REG EQU CYREG_B0_UDB12_CTL\r
+SCSI_CTL_PHASE_Sync_ctrl_reg__COUNT_ST_REG EQU CYREG_B0_UDB12_ST_CTL\r
 SCSI_CTL_PHASE_Sync_ctrl_reg__MASK EQU 0x07\r
-SCSI_CTL_PHASE_Sync_ctrl_reg__MASK_CTL_AUX_CTL_REG EQU CYREG_B0_UDB05_MSK_ACTL\r
-SCSI_CTL_PHASE_Sync_ctrl_reg__PER_CTL_AUX_CTL_REG EQU CYREG_B0_UDB05_MSK_ACTL\r
-SCSI_CTL_PHASE_Sync_ctrl_reg__PERIOD_REG EQU CYREG_B0_UDB05_MSK\r
+SCSI_CTL_PHASE_Sync_ctrl_reg__MASK_CTL_AUX_CTL_REG EQU CYREG_B0_UDB12_MSK_ACTL\r
+SCSI_CTL_PHASE_Sync_ctrl_reg__PER_CTL_AUX_CTL_REG EQU CYREG_B0_UDB12_MSK_ACTL\r
+SCSI_CTL_PHASE_Sync_ctrl_reg__PERIOD_REG EQU CYREG_B0_UDB12_MSK\r
 \r
 ; SCSI_Glitch_Ctl\r
 SCSI_Glitch_Ctl_Sync_ctrl_reg__0__MASK EQU 0x01\r
 SCSI_Glitch_Ctl_Sync_ctrl_reg__0__POS EQU 0\r
-SCSI_Glitch_Ctl_Sync_ctrl_reg__16BIT_CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB06_07_ACTL\r
-SCSI_Glitch_Ctl_Sync_ctrl_reg__16BIT_CONTROL_CONTROL_REG EQU CYREG_B0_UDB06_07_CTL\r
-SCSI_Glitch_Ctl_Sync_ctrl_reg__16BIT_CONTROL_COUNT_REG EQU CYREG_B0_UDB06_07_CTL\r
-SCSI_Glitch_Ctl_Sync_ctrl_reg__16BIT_COUNT_CONTROL_REG EQU CYREG_B0_UDB06_07_CTL\r
-SCSI_Glitch_Ctl_Sync_ctrl_reg__16BIT_COUNT_COUNT_REG EQU CYREG_B0_UDB06_07_CTL\r
-SCSI_Glitch_Ctl_Sync_ctrl_reg__16BIT_MASK_MASK_REG EQU CYREG_B0_UDB06_07_MSK\r
-SCSI_Glitch_Ctl_Sync_ctrl_reg__16BIT_MASK_PERIOD_REG EQU CYREG_B0_UDB06_07_MSK\r
-SCSI_Glitch_Ctl_Sync_ctrl_reg__16BIT_PERIOD_MASK_REG EQU CYREG_B0_UDB06_07_MSK\r
-SCSI_Glitch_Ctl_Sync_ctrl_reg__16BIT_PERIOD_PERIOD_REG EQU CYREG_B0_UDB06_07_MSK\r
-SCSI_Glitch_Ctl_Sync_ctrl_reg__CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB06_ACTL\r
-SCSI_Glitch_Ctl_Sync_ctrl_reg__CONTROL_REG EQU CYREG_B0_UDB06_CTL\r
-SCSI_Glitch_Ctl_Sync_ctrl_reg__CONTROL_ST_REG EQU CYREG_B0_UDB06_ST_CTL\r
-SCSI_Glitch_Ctl_Sync_ctrl_reg__COUNT_REG EQU CYREG_B0_UDB06_CTL\r
-SCSI_Glitch_Ctl_Sync_ctrl_reg__COUNT_ST_REG EQU CYREG_B0_UDB06_ST_CTL\r
+SCSI_Glitch_Ctl_Sync_ctrl_reg__16BIT_CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB13_14_ACTL\r
+SCSI_Glitch_Ctl_Sync_ctrl_reg__16BIT_CONTROL_CONTROL_REG EQU CYREG_B0_UDB13_14_CTL\r
+SCSI_Glitch_Ctl_Sync_ctrl_reg__16BIT_CONTROL_COUNT_REG EQU CYREG_B0_UDB13_14_CTL\r
+SCSI_Glitch_Ctl_Sync_ctrl_reg__16BIT_COUNT_CONTROL_REG EQU CYREG_B0_UDB13_14_CTL\r
+SCSI_Glitch_Ctl_Sync_ctrl_reg__16BIT_COUNT_COUNT_REG EQU CYREG_B0_UDB13_14_CTL\r
+SCSI_Glitch_Ctl_Sync_ctrl_reg__16BIT_MASK_MASK_REG EQU CYREG_B0_UDB13_14_MSK\r
+SCSI_Glitch_Ctl_Sync_ctrl_reg__16BIT_MASK_PERIOD_REG EQU CYREG_B0_UDB13_14_MSK\r
+SCSI_Glitch_Ctl_Sync_ctrl_reg__16BIT_PERIOD_MASK_REG EQU CYREG_B0_UDB13_14_MSK\r
+SCSI_Glitch_Ctl_Sync_ctrl_reg__16BIT_PERIOD_PERIOD_REG EQU CYREG_B0_UDB13_14_MSK\r
+SCSI_Glitch_Ctl_Sync_ctrl_reg__CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB13_ACTL\r
+SCSI_Glitch_Ctl_Sync_ctrl_reg__CONTROL_REG EQU CYREG_B0_UDB13_CTL\r
+SCSI_Glitch_Ctl_Sync_ctrl_reg__CONTROL_ST_REG EQU CYREG_B0_UDB13_ST_CTL\r
+SCSI_Glitch_Ctl_Sync_ctrl_reg__COUNT_REG EQU CYREG_B0_UDB13_CTL\r
+SCSI_Glitch_Ctl_Sync_ctrl_reg__COUNT_ST_REG EQU CYREG_B0_UDB13_ST_CTL\r
 SCSI_Glitch_Ctl_Sync_ctrl_reg__MASK EQU 0x01\r
-SCSI_Glitch_Ctl_Sync_ctrl_reg__MASK_CTL_AUX_CTL_REG EQU CYREG_B0_UDB06_MSK_ACTL\r
-SCSI_Glitch_Ctl_Sync_ctrl_reg__PER_CTL_AUX_CTL_REG EQU CYREG_B0_UDB06_MSK_ACTL\r
-SCSI_Glitch_Ctl_Sync_ctrl_reg__PERIOD_REG EQU CYREG_B0_UDB06_MSK\r
+SCSI_Glitch_Ctl_Sync_ctrl_reg__MASK_CTL_AUX_CTL_REG EQU CYREG_B0_UDB13_MSK_ACTL\r
+SCSI_Glitch_Ctl_Sync_ctrl_reg__PER_CTL_AUX_CTL_REG EQU CYREG_B0_UDB13_MSK_ACTL\r
+SCSI_Glitch_Ctl_Sync_ctrl_reg__PERIOD_REG EQU CYREG_B0_UDB13_MSK\r
 \r
 ; SCSI_Parity_Error\r
 SCSI_Parity_Error_sts_sts_reg__0__MASK EQU 0x01\r
 SCSI_Parity_Error_sts_sts_reg__0__POS EQU 0\r
-SCSI_Parity_Error_sts_sts_reg__16BIT_STATUS_AUX_CTL_REG EQU CYREG_B0_UDB10_11_ACTL\r
-SCSI_Parity_Error_sts_sts_reg__16BIT_STATUS_REG EQU CYREG_B0_UDB10_11_ST\r
+SCSI_Parity_Error_sts_sts_reg__16BIT_STATUS_AUX_CTL_REG EQU CYREG_B0_UDB05_06_ACTL\r
+SCSI_Parity_Error_sts_sts_reg__16BIT_STATUS_REG EQU CYREG_B0_UDB05_06_ST\r
 SCSI_Parity_Error_sts_sts_reg__MASK EQU 0x01\r
-SCSI_Parity_Error_sts_sts_reg__MASK_REG EQU CYREG_B0_UDB10_MSK\r
-SCSI_Parity_Error_sts_sts_reg__STATUS_AUX_CTL_REG EQU CYREG_B0_UDB10_ACTL\r
-SCSI_Parity_Error_sts_sts_reg__STATUS_REG EQU CYREG_B0_UDB10_ST\r
+SCSI_Parity_Error_sts_sts_reg__MASK_REG EQU CYREG_B0_UDB05_MSK\r
+SCSI_Parity_Error_sts_sts_reg__STATUS_AUX_CTL_REG EQU CYREG_B0_UDB05_ACTL\r
+SCSI_Parity_Error_sts_sts_reg__STATUS_REG EQU CYREG_B0_UDB05_ST\r
 \r
 ; Miscellaneous\r
 BCLK__BUS_CLK__HZ EQU 50000000\r
 BCLK__BUS_CLK__KHZ EQU 50000\r
 BCLK__BUS_CLK__MHZ EQU 50\r
-CYDEV_CHIP_DIE_GEN4 EQU 2\r
 CYDEV_CHIP_DIE_LEOPARD EQU 1\r
-CYDEV_CHIP_DIE_PANTHER EQU 13\r
-CYDEV_CHIP_DIE_PSOC4A EQU 6\r
-CYDEV_CHIP_DIE_PSOC5LP EQU 12\r
+CYDEV_CHIP_DIE_PANTHER EQU 18\r
+CYDEV_CHIP_DIE_PSOC4A EQU 10\r
+CYDEV_CHIP_DIE_PSOC5LP EQU 17\r
+CYDEV_CHIP_DIE_TMA4 EQU 2\r
 CYDEV_CHIP_DIE_UNKNOWN EQU 0\r
 CYDEV_CHIP_FAMILY_PSOC3 EQU 1\r
 CYDEV_CHIP_FAMILY_PSOC4 EQU 2\r
@@ -2919,24 +3011,26 @@ CYDEV_CHIP_FAMILY_UNKNOWN EQU 0
 CYDEV_CHIP_FAMILY_USED EQU CYDEV_CHIP_FAMILY_PSOC5\r
 CYDEV_CHIP_JTAG_ID EQU 0x2E133069\r
 CYDEV_CHIP_MEMBER_3A EQU 1\r
-CYDEV_CHIP_MEMBER_4A EQU 6\r
-CYDEV_CHIP_MEMBER_4C EQU 10\r
-CYDEV_CHIP_MEMBER_4D EQU 3\r
-CYDEV_CHIP_MEMBER_4E EQU 5\r
-CYDEV_CHIP_MEMBER_4F EQU 7\r
+CYDEV_CHIP_MEMBER_4A EQU 10\r
+CYDEV_CHIP_MEMBER_4C EQU 15\r
+CYDEV_CHIP_MEMBER_4D EQU 6\r
+CYDEV_CHIP_MEMBER_4E EQU 4\r
+CYDEV_CHIP_MEMBER_4F EQU 11\r
 CYDEV_CHIP_MEMBER_4G EQU 2\r
-CYDEV_CHIP_MEMBER_4H EQU 4\r
-CYDEV_CHIP_MEMBER_4L EQU 9\r
-CYDEV_CHIP_MEMBER_4M EQU 8\r
-CYDEV_CHIP_MEMBER_5A EQU 12\r
-CYDEV_CHIP_MEMBER_5B EQU 11\r
+CYDEV_CHIP_MEMBER_4H EQU 9\r
+CYDEV_CHIP_MEMBER_4I EQU 14\r
+CYDEV_CHIP_MEMBER_4J EQU 7\r
+CYDEV_CHIP_MEMBER_4K EQU 8\r
+CYDEV_CHIP_MEMBER_4L EQU 13\r
+CYDEV_CHIP_MEMBER_4M EQU 12\r
+CYDEV_CHIP_MEMBER_4N EQU 5\r
+CYDEV_CHIP_MEMBER_4U EQU 3\r
+CYDEV_CHIP_MEMBER_5A EQU 17\r
+CYDEV_CHIP_MEMBER_5B EQU 16\r
 CYDEV_CHIP_MEMBER_UNKNOWN EQU 0\r
 CYDEV_CHIP_MEMBER_USED EQU CYDEV_CHIP_MEMBER_5B\r
 CYDEV_CHIP_DIE_EXPECT EQU CYDEV_CHIP_MEMBER_USED\r
 CYDEV_CHIP_DIE_ACTUAL EQU CYDEV_CHIP_DIE_EXPECT\r
-CYDEV_CHIP_REV_GEN4_ES EQU 17\r
-CYDEV_CHIP_REV_GEN4_ES2 EQU 33\r
-CYDEV_CHIP_REV_GEN4_PRODUCTION EQU 17\r
 CYDEV_CHIP_REV_LEOPARD_ES1 EQU 0\r
 CYDEV_CHIP_REV_LEOPARD_ES2 EQU 1\r
 CYDEV_CHIP_REV_LEOPARD_ES3 EQU 3\r
@@ -2948,6 +3042,9 @@ CYDEV_CHIP_REV_PSOC4A_ES0 EQU 17
 CYDEV_CHIP_REV_PSOC4A_PRODUCTION EQU 17\r
 CYDEV_CHIP_REV_PSOC5LP_ES0 EQU 0\r
 CYDEV_CHIP_REV_PSOC5LP_PRODUCTION EQU 0\r
+CYDEV_CHIP_REV_TMA4_ES EQU 17\r
+CYDEV_CHIP_REV_TMA4_ES2 EQU 33\r
+CYDEV_CHIP_REV_TMA4_PRODUCTION EQU 17\r
 CYDEV_CHIP_REVISION_3A_ES1 EQU 0\r
 CYDEV_CHIP_REVISION_3A_ES2 EQU 1\r
 CYDEV_CHIP_REVISION_3A_ES3 EQU 3\r
@@ -2958,13 +3055,19 @@ CYDEV_CHIP_REVISION_4C_PRODUCTION EQU 0
 CYDEV_CHIP_REVISION_4D_PRODUCTION EQU 0\r
 CYDEV_CHIP_REVISION_4E_PRODUCTION EQU 0\r
 CYDEV_CHIP_REVISION_4F_PRODUCTION EQU 0\r
+CYDEV_CHIP_REVISION_4F_PRODUCTION_256DMA EQU 0\r
 CYDEV_CHIP_REVISION_4F_PRODUCTION_256K EQU 0\r
 CYDEV_CHIP_REVISION_4G_ES EQU 17\r
 CYDEV_CHIP_REVISION_4G_ES2 EQU 33\r
 CYDEV_CHIP_REVISION_4G_PRODUCTION EQU 17\r
 CYDEV_CHIP_REVISION_4H_PRODUCTION EQU 0\r
+CYDEV_CHIP_REVISION_4I_PRODUCTION EQU 0\r
+CYDEV_CHIP_REVISION_4J_PRODUCTION EQU 0\r
+CYDEV_CHIP_REVISION_4K_PRODUCTION EQU 0\r
 CYDEV_CHIP_REVISION_4L_PRODUCTION EQU 0\r
 CYDEV_CHIP_REVISION_4M_PRODUCTION EQU 0\r
+CYDEV_CHIP_REVISION_4N_PRODUCTION EQU 0\r
+CYDEV_CHIP_REVISION_4U_PRODUCTION EQU 0\r
 CYDEV_CHIP_REVISION_5A_ES0 EQU 0\r
 CYDEV_CHIP_REVISION_5A_ES1 EQU 1\r
 CYDEV_CHIP_REVISION_5A_PRODUCTION EQU 1\r
@@ -2997,6 +3100,8 @@ CYDEV_ECC_ENABLE EQU 0
 CYDEV_HEAP_SIZE EQU 0x0400\r
 CYDEV_INSTRUCT_CACHE_ENABLED EQU 1\r
 CYDEV_INTR_RISING EQU 0x0000007E\r
+CYDEV_IS_EXPORTING_CODE EQU 0\r
+CYDEV_IS_IMPORTING_CODE EQU 0\r
 CYDEV_PROJ_TYPE EQU 2\r
 CYDEV_PROJ_TYPE_BOOTLOADER EQU 1\r
 CYDEV_PROJ_TYPE_LAUNCHER EQU 5\r
@@ -3009,14 +3114,22 @@ CYDEV_STACK_SIZE EQU 0x1000
 CYDEV_USB_CLK_OSC_LOCKING_ENABLED_AT_PWR_UP EQU 1\r
 CYDEV_USE_BUNDLED_CMSIS EQU 1\r
 CYDEV_VARIABLE_VDDA EQU 0\r
+CYDEV_VDDA EQU 5\r
 CYDEV_VDDA_MV EQU 5000\r
+CYDEV_VDDD EQU 5\r
 CYDEV_VDDD_MV EQU 5000\r
+CYDEV_VDDIO0 EQU 5\r
 CYDEV_VDDIO0_MV EQU 5000\r
+CYDEV_VDDIO1 EQU 5\r
 CYDEV_VDDIO1_MV EQU 5000\r
+CYDEV_VDDIO2 EQU 5\r
 CYDEV_VDDIO2_MV EQU 5000\r
 CYDEV_VDDIO3_MV EQU 3300\r
+CYDEV_VIO0 EQU 5\r
 CYDEV_VIO0_MV EQU 5000\r
+CYDEV_VIO1 EQU 5\r
 CYDEV_VIO1_MV EQU 5000\r
+CYDEV_VIO2 EQU 5\r
 CYDEV_VIO2_MV EQU 5000\r
 CYDEV_VIO3_MV EQU 3300\r
 CYIPBLOCK_ARM_CM3_VERSION EQU 0\r