Commit 97c637e4 authored by 时昊's avatar 时昊

feat:修改gpio和630时序

parent 7b0dc688
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
<RegID>0</RegID> <RegID>0</RegID>
<MDITabState> <MDITabState>
<Len>2972</Len> <Len>2972</Len>
<Data>0100000004000000010000000100000001000000010000000000000002000000000000000100000001000000000000002800000028000000010000001600000009000000010000004D5A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C4170706C69636174696F6E5C4261636B4C696768742E63000000000B4261636B4C696768742E6300000000C5D4F200FFFFFFFF535A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C4170706C69636174696F6E5C436F6D6D6F6E496E746572666163652E630000000011436F6D6D6F6E496E746572666163652E6300000000FFDC7800FFFFFFFF735A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C436F6D706F6E656E745C53696D756C617465645F4949435F6D61737465725C53696D756C617465645F4949435F6D61737465725F506F7274696E672E63000000001E53696D756C617465645F4949435F6D61737465725F506F7274696E672E6300000000BECEA100FFFFFFFF645A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C436F6D706F6E656E745C53797374656D5F4D6F6E69746F725C53797374656D5F4D6F6E69746F725F557365722E63000000001553797374656D5F4D6F6E69746F725F557365722E6300000000F0A0A100FFFFFFFF615A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C436F6D706F6E656E745C506F7765724D616E6167656D656E745C506F7765724D616E61675F757365722E630000000011506F7765724D616E61675F757365722E6300000000BCA8E100FFFFFFFF5F5A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C436F6D706F6E656E745C4D696C656167655C53657276696365735F4D696C656167655F557365722E63000000001753657276696365735F4D696C656167655F557365722E63000000009CC1B600FFFFFFFF815A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C50726F6A6563745C436D73656D69636F6E5C4241543332413237395C4D444B5F41524D5C5254455C4465766963655C4241543332413237394B4D363446425C737461727475705F4241543332413237392E730000000013737461727475705F4241543332413237392E7300000000F7B88600FFFFFFFF435A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C53797374656D5C6D61696E2E6300000000066D61696E2E6300000000D9ADC200FFFFFFFF6C5A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C4465766963655C436D73656D69636F6E5C4241543332413237395C5254455C5744545C5254455F5744545F4241543332413237392E6300000000135254455F5744545F4241543332413237392E6300000000A5C2D700FFFFFFFF4C5A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C53797374656D5C5379735F5461736B5F4C6973742E63000000000F5379735F5461736B5F4C6973742E6300000000B3A6BE00FFFFFFFF505A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C53797374656D5C5379735F5363686564756C65725F4C69622E6300000000135379735F5363686564756C65725F4C69622E6300000000EAD6A300FFFFFFFF4C5A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C436F6D706F6E656E745C436F6D706F6E656E74732E68000000000C436F6D706F6E656E74732E6800000000F6FA7D00FFFFFFFF4E5A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C436F6D706F6E656E745C4B65795C4B65795F757365722E63000000000A4B65795F757365722E6300000000B5E99D00FFFFFFFF695A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C4465766963655C436D73656D69636F6E5C4241543332413237395C4C6962726172795C4472697665725C7372635C6973722E6300000000056973722E63000000005FC3CF00FFFFFFFF515A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C436F6D706F6E656E745C414D54363330485C414D54363330482E630000000009414D54363330482E6300000000C1838300FFFFFFFF565A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C436F6D706F6E656E745C414D54363330485C477261706869637346756E632E63000000000E477261706869637346756E632E6300000000CACAD500FFFFFFFF645A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C4465766963655C436D73656D69636F6E5C4241543332413237395C5254455C554152545C5254455F554152542E63000000000A5254455F554152542E6300000000C5D4F200FFFFFFFF695A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C4465766963655C436D73656D69636F6E5C4241543332413237395C4C6962726172795C4472697665725C7372635C7764742E6300000000057764742E6300000000FFDC7800FFFFFFFF575A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C436F6D706F6E656E745C414D54363330485C414D54363330485F44617461732E63000000000F414D54363330485F44617461732E6300000000BECEA100FFFFFFFF7A5A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C4465766963655C436D73656D69636F6E5C4241543332413237395C5254455C5469636B5F54696D65725C5254455F5469636B5F54696D65725F4241543332413237392E63000000001A5254455F5469636B5F54696D65725F4241543332413237392E6300000000F0A0A100FFFFFFFF695A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C4465766963655C436D73656D69636F6E5C4241543332413237395C4C6962726172795C4472697665725C7372635C6367632E6300000000056367632E6300000000BCA8E100FFFFFFFF705A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C4465766963655C436D73656D69636F6E5C4241543332413237395C4C6962726172795C4472697665725C7372635C7363695F636F6D6D6F6E2E63000000000C7363695F636F6D6D6F6E2E63000000009CC1B600FFFFFFFF0100000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD500010000000000000002000000FB0000006600000024050000AA010000</Data> <Data>010000000400000001000000010000000100000001000000000000000200000000000000010000000100000000000000280000002800000001000000160000000F000000010000004D5A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C4170706C69636174696F6E5C4261636B4C696768742E63000000000B4261636B4C696768742E6300000000C5D4F200FFFFFFFF535A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C4170706C69636174696F6E5C436F6D6D6F6E496E746572666163652E630000000011436F6D6D6F6E496E746572666163652E6300000000FFDC7800FFFFFFFF735A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C436F6D706F6E656E745C53696D756C617465645F4949435F6D61737465725C53696D756C617465645F4949435F6D61737465725F506F7274696E672E63000000001E53696D756C617465645F4949435F6D61737465725F506F7274696E672E6300000000BECEA100FFFFFFFF645A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C436F6D706F6E656E745C53797374656D5F4D6F6E69746F725C53797374656D5F4D6F6E69746F725F557365722E63000000001553797374656D5F4D6F6E69746F725F557365722E6300000000F0A0A100FFFFFFFF615A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C436F6D706F6E656E745C506F7765724D616E6167656D656E745C506F7765724D616E61675F757365722E630000000011506F7765724D616E61675F757365722E6300000000BCA8E100FFFFFFFF5F5A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C436F6D706F6E656E745C4D696C656167655C53657276696365735F4D696C656167655F557365722E63000000001753657276696365735F4D696C656167655F557365722E63000000009CC1B600FFFFFFFF815A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C50726F6A6563745C436D73656D69636F6E5C4241543332413237395C4D444B5F41524D5C5254455C4465766963655C4241543332413237394B4D363446425C737461727475705F4241543332413237392E730000000013737461727475705F4241543332413237392E7300000000F7B88600FFFFFFFF435A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C53797374656D5C6D61696E2E6300000000066D61696E2E6300000000D9ADC200FFFFFFFF6C5A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C4465766963655C436D73656D69636F6E5C4241543332413237395C5254455C5744545C5254455F5744545F4241543332413237392E6300000000135254455F5744545F4241543332413237392E6300000000A5C2D700FFFFFFFF4C5A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C53797374656D5C5379735F5461736B5F4C6973742E63000000000F5379735F5461736B5F4C6973742E6300000000B3A6BE00FFFFFFFF505A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C53797374656D5C5379735F5363686564756C65725F4C69622E6300000000135379735F5363686564756C65725F4C69622E6300000000EAD6A300FFFFFFFF4C5A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C436F6D706F6E656E745C436F6D706F6E656E74732E68000000000C436F6D706F6E656E74732E6800000000F6FA7D00FFFFFFFF4E5A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C436F6D706F6E656E745C4B65795C4B65795F757365722E63000000000A4B65795F757365722E6300000000B5E99D00FFFFFFFF695A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C4465766963655C436D73656D69636F6E5C4241543332413237395C4C6962726172795C4472697665725C7372635C6973722E6300000000056973722E63000000005FC3CF00FFFFFFFF515A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C436F6D706F6E656E745C414D54363330485C414D54363330482E630000000009414D54363330482E6300000000C1838300FFFFFFFF565A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C436F6D706F6E656E745C414D54363330485C477261706869637346756E632E63000000000E477261706869637346756E632E6300000000CACAD500FFFFFFFF645A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C4465766963655C436D73656D69636F6E5C4241543332413237395C5254455C554152545C5254455F554152542E63000000000A5254455F554152542E6300000000C5D4F200FFFFFFFF695A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C4465766963655C436D73656D69636F6E5C4241543332413237395C4C6962726172795C4472697665725C7372635C7764742E6300000000057764742E6300000000FFDC7800FFFFFFFF575A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C436F6D706F6E656E745C414D54363330485C414D54363330485F44617461732E63000000000F414D54363330485F44617461732E6300000000BECEA100FFFFFFFF7A5A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C4465766963655C436D73656D69636F6E5C4241543332413237395C5254455C5469636B5F54696D65725C5254455F5469636B5F54696D65725F4241543332413237392E63000000001A5254455F5469636B5F54696D65725F4241543332413237392E6300000000F0A0A100FFFFFFFF695A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C4465766963655C436D73656D69636F6E5C4241543332413237395C4C6962726172795C4472697665725C7372635C6367632E6300000000056367632E6300000000BCA8E100FFFFFFFF705A3A5C4465736B746F705C68616F6A696E3735305F5446545C68616F6A696E3735307466745C4669726D776172655C536F757263655C4465766963655C436D73656D69636F6E5C4241543332413237395C4C6962726172795C4472697665725C7372635C7363695F636F6D6D6F6E2E63000000000C7363695F636F6D6D6F6E2E63000000009CC1B600FFFFFFFF0100000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD500010000000000000002000000FB0000006600000024050000AA010000</Data>
</MDITabState> </MDITabState>
</MDIClientArea> </MDIClientArea>
<ViewEx> <ViewEx>
...@@ -3603,7 +3603,7 @@ ...@@ -3603,7 +3603,7 @@
<ActiveMDIGroup>0</ActiveMDIGroup> <ActiveMDIGroup>0</ActiveMDIGroup>
<MDIGroup> <MDIGroup>
<Size>100</Size> <Size>100</Size>
<ActiveTab>9</ActiveTab> <ActiveTab>15</ActiveTab>
<Doc> <Doc>
<Name>..\..\..\..\Source\Application\BackLight.c</Name> <Name>..\..\..\..\Source\Application\BackLight.c</Name>
<ColumnNumber>23</ColumnNumber> <ColumnNumber>23</ColumnNumber>
...@@ -3732,17 +3732,17 @@ ...@@ -3732,17 +3732,17 @@
</Doc> </Doc>
<Doc> <Doc>
<Name>..\..\..\..\Source\Component\AMT630H\AMT630H.c</Name> <Name>..\..\..\..\Source\Component\AMT630H\AMT630H.c</Name>
<ColumnNumber>0</ColumnNumber> <ColumnNumber>54</ColumnNumber>
<TopLine>352</TopLine> <TopLine>131</TopLine>
<CurrentLine>354</CurrentLine> <CurrentLine>138</CurrentLine>
<Folding>1</Folding> <Folding>1</Folding>
<ContractedFolders></ContractedFolders> <ContractedFolders></ContractedFolders>
<PaneID>0</PaneID> <PaneID>0</PaneID>
</Doc> </Doc>
<Doc> <Doc>
<Name>..\..\..\..\Source\Component\AMT630H\GraphicsFunc.c</Name> <Name>..\..\..\..\Source\Component\AMT630H\GraphicsFunc.c</Name>
<ColumnNumber>0</ColumnNumber> <ColumnNumber>43</ColumnNumber>
<TopLine>15</TopLine> <TopLine>9</TopLine>
<CurrentLine>16</CurrentLine> <CurrentLine>16</CurrentLine>
<Folding>1</Folding> <Folding>1</Folding>
<ContractedFolders></ContractedFolders> <ContractedFolders></ContractedFolders>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -4,75 +4,75 @@ ...@@ -4,75 +4,75 @@
#define GpioOut_High RTE_GPIO_DIR_OUT | RTE_GPIO_LEVEL_HIGH #define GpioOut_High RTE_GPIO_DIR_OUT | RTE_GPIO_LEVEL_HIGH
#define GpioOut_Low RTE_GPIO_DIR_OUT | RTE_GPIO_LEVEL_LOW #define GpioOut_Low RTE_GPIO_DIR_OUT | RTE_GPIO_LEVEL_LOW
/* GPIO映射 */ /* GPIO映射 */
#define L_Fuel_POW RTE_GPIO_PORT00_PIN00 #define ABS_Faulty_lights RTE_GPIO_PORT00_PIN00
#define KL15_AD_IN RTE_GPIO_PORT00_PIN01 #define KL15_AD_IN RTE_GPIO_PORT00_PIN01
#define SD_1 RTE_GPIO_PORT00_PIN02 #define MCU_SPI_MOSI RTE_GPIO_PORT00_PIN02
#define CSB_1 RTE_GPIO_PORT00_PIN03 #define MCU_SPI_MISO RTE_GPIO_PORT00_PIN03
#define SCL_1 RTE_GPIO_PORT00_PIN04 #define MCU_SPI_CLK RTE_GPIO_PORT00_PIN04
#define L_BiasBitSW_100 RTE_GPIO_PORT00_PIN05 #define HighBeam_P_In RTE_GPIO_PORT00_PIN05
#define L_BiasBitSW_10 RTE_GPIO_PORT00_PIN06 #define VSPEED_TEN_OUT RTE_GPIO_PORT00_PIN06
#define Blacklight_PWM RTE_GPIO_PORT01_PIN00 //ljs #define Blacklight_PWM RTE_GPIO_PORT01_PIN00 //ljs
#define RXD_ESP_IN_MCU RTE_GPIO_PORT01_PIN01 #define LIN_RXD_ESP RTE_GPIO_PORT01_PIN01
#define TXD_ESP_IN_MCU RTE_GPIO_PORT01_PIN02 #define LIN_TXD_ESP RTE_GPIO_PORT01_PIN02
#define NONE_3 RTE_GPIO_PORT01_PIN03 #define Gears_N_MCU RTE_GPIO_PORT01_PIN03
#define SCL_IIC RTE_GPIO_PORT01_PIN04 #define Low_oil_pressure_MCU RTE_GPIO_PORT01_PIN04
#define SDA_IIC RTE_GPIO_PORT01_PIN05 #define x1530_EN_MCU RTE_GPIO_PORT01_PIN05
#define ESpeed_IOC RTE_GPIO_PORT01_PIN06 #define ESPEED_TEN_IN RTE_GPIO_PORT01_PIN06
#define VSpeed_IOC RTE_GPIO_PORT01_PIN07 #define VSPEED_TEN_IN RTE_GPIO_PORT01_PIN07
#define AVDD RTE_GPIO_PORT02_PIN00 #define AVDD RTE_GPIO_PORT02_PIN00
#define GND RTE_GPIO_PORT02_PIN01 #define GND RTE_GPIO_PORT02_PIN01
#define KL30_AD_MCU_IN RTE_GPIO_PORT02_PIN02 //ljs #define KL30_AD_MCU_IN RTE_GPIO_PORT02_PIN02 //ljs
#define KL15_AD_MCU_IN RTE_GPIO_PORT02_PIN03 //ljs #define KL15_AD_MCU_IN RTE_GPIO_PORT02_PIN03 //ljs
#define TCS RTE_GPIO_PORT02_PIN04 #define A_NTC_IN RTE_GPIO_PORT02_PIN04
#define Fuel_AD_IN_MCU RTE_GPIO_PORT02_PIN05 #define A_FuelSender_BitSNSR1_IN RTE_GPIO_PORT02_PIN05
#define Water_Temperature RTE_GPIO_PORT02_PIN06 #define A_WaterTemp_IN RTE_GPIO_PORT02_PIN06
#define BiasBitSW_Fuel RTE_GPIO_PORT02_PIN07 #define A_FULESTANDARDBitSW1_IN RTE_GPIO_PORT02_PIN07
#define Diagnosis RTE_GPIO_PORT03_PIN00 #define MAINTENANCE_LAMP_OUT RTE_GPIO_PORT03_PIN00
#define SDB_LED_DRIVER RTE_GPIO_PORT03_PIN01 #define LeftTurn_MUC_OUT RTE_GPIO_PORT03_PIN01
#define SWDIO RTE_GPIO_PORT04_PIN00 #define SWDIO_JTMS RTE_GPIO_PORT04_PIN00
#define Smart_Lock RTE_GPIO_PORT04_PIN01 #define Start_stop_MCU RTE_GPIO_PORT04_PIN01
#define MODE_IN_MCU RTE_GPIO_PORT04_PIN02 #define Select_button_MCU RTE_GPIO_PORT04_PIN02
#define VCC1V2_AMT_EN RTE_GPIO_PORT04_PIN03 //ljs #define VCC1V2_AMT_EN RTE_GPIO_PORT04_PIN03 //ljs
#define MCU_OUT_2CH_20k RTE_GPIO_PORT05_PIN00 #define CAN_MCU_RXD RTE_GPIO_PORT05_PIN00
#define MCU_OUT_1CH_200 RTE_GPIO_PORT05_PIN01 #define CAN_MCU_TXD RTE_GPIO_PORT05_PIN01
#define Position RTE_GPIO_PORT05_PIN02 #define CAN_STB_MCU RTE_GPIO_PORT05_PIN02
#define Right_Turn RTE_GPIO_PORT05_PIN03 #define HighBeam_MCU RTE_GPIO_PORT05_PIN03
#define Left_Turn RTE_GPIO_PORT05_PIN04 #define L_FuelSender_OUT RTE_GPIO_PORT05_PIN04
#define High_Beam RTE_GPIO_PORT05_PIN05 #define SWITCH_MCU RTE_GPIO_PORT05_PIN05
#define SCL RTE_GPIO_PORT06_PIN00 #define IIC_SCL_24G16 RTE_GPIO_PORT06_PIN00
#define SDA RTE_GPIO_PORT06_PIN01 #define IIC_SDA_24G16 RTE_GPIO_PORT06_PIN01
#define SCL_MCU RTE_GPIO_PORT06_PIN02 #define IIC_SCL_27030 RTE_GPIO_PORT06_PIN02
#define SDA_MCU RTE_GPIO_PORT06_PIN03 #define I243_SDA_27030 RTE_GPIO_PORT06_PIN03
#define SCL_2 RTE_GPIO_PORT07_PIN00 #define SCL_2 RTE_GPIO_PORT07_PIN00
#define CSB_2 RTE_GPIO_PORT07_PIN01 #define CSB_2 RTE_GPIO_PORT07_PIN01
#define SD_2 RTE_GPIO_PORT07_PIN02 #define SD_2 RTE_GPIO_PORT07_PIN02
#define MCU_RSTB_LCD RTE_GPIO_PORT07_PIN03 //ljs #define MCU_RSTB_LCD RTE_GPIO_PORT07_PIN03 //ljs
#define L_BiasBitSW_1000 RTE_GPIO_PORT07_PIN04 #define HighBeam_MUC_OUT RTE_GPIO_PORT07_PIN04
#define STBYB_LCD_MCU RTE_GPIO_PORT07_PIN05 //ljs #define STBYB_LCD_MCU RTE_GPIO_PORT07_PIN05 //ljs
#define RXD_2 RTE_GPIO_PORT07_PIN06 //ljs #define RXD_2 RTE_GPIO_PORT07_PIN06 //ljs
#define TXD_2 RTE_GPIO_PORT07_PIN07 //ljs #define TXD_2 RTE_GPIO_PORT07_PIN07 //ljs
#define L_BiasBitSW_POW RTE_GPIO_PORT12_PIN00 #define L_BiasBitSW_POW RTE_GPIO_PORT12_PIN00
#define X_1 RTE_GPIO_PORT12_PIN01 #define MCU_XI RTE_GPIO_PORT12_PIN01
#define X_2_EXCLK RTE_GPIO_PORT12_PIN02 #define MCU_XO RTE_GPIO_PORT12_PIN02
#define XT_1 RTE_GPIO_PORT12_PIN03 #define X32768_IN RTE_GPIO_PORT12_PIN03
#define XT_2 RTE_GPIO_PORT12_PIN04 #define X32768_OUT RTE_GPIO_PORT12_PIN04
#define NONE_2 RTE_GPIO_PORT13_PIN00 #define MCU_SPI_CS RTE_GPIO_PORT13_PIN00
#define Neutral RTE_GPIO_PORT13_PIN06 #define RESEVER5_OUT_LOW RTE_GPIO_PORT13_PIN06
#define SWCLK RTE_GPIO_PORT13_PIN07 #define SWCLK RTE_GPIO_PORT13_PIN07
#define VCC_33_EN_MCU RTE_GPIO_PORT14_PIN00 //ljs #define VCC_33_EN_MCU RTE_GPIO_PORT14_PIN00 //ljs
#define L_BiasBitSW_Fuel_OUT RTE_GPIO_PORT14_PIN01 #define RightTurn_MUC_OUT RTE_GPIO_PORT14_PIN01
#define A_Version RTE_GPIO_PORT14_PIN06 #define A_Version RTE_GPIO_PORT14_PIN06
#define NONE_1 RTE_GPIO_PORT14_PIN07 #define Engine_Failure_MCU RTE_GPIO_PORT14_PIN07
typedef enum typedef enum
{ {
......
...@@ -141,17 +141,19 @@ void Amt630hUartRecvData(uint16_t u16UARTData) ...@@ -141,17 +141,19 @@ void Amt630hUartRecvData(uint16_t u16UARTData)
UartRevCnts = 0; UartRevCnts = 0;
} }
} }
void AMT630H_RstCtrl(void)//需要加1530 void AMT630H_RstCtrl(void)
{ {
RTE_GPIO_Set_Level(VCC_33_EN_MCU, 0); RTE_GPIO_Set_Level(VCC_33_EN_MCU, 0);//630
RTE_GPIO_Set_Level(VCC1V2_AMT_EN, 0); RTE_GPIO_Set_Level(VCC1V2_AMT_EN, 0);//630
RTE_GPIO_Set_Level(STBYB_LCD_MCU, 0); RTE_GPIO_Set_Level(STBYB_LCD_MCU, 0);//lcd
RTE_GPIO_Set_Level(MCU_RSTB_LCD, 0); RTE_GPIO_Set_Level(MCU_RSTB_LCD, 0);//lcd
Delay_Time_Ctrl(10); Delay_Time_Ctrl(10);
RTE_GPIO_Set_Level(VCC1V2_AMT_EN, 1); RTE_GPIO_Set_Level(VCC1V2_AMT_EN, 1);
Delay_Time_Ctrl(15); Delay_Time_Ctrl(15);
RTE_GPIO_Set_Level(VCC_33_EN_MCU, 1); RTE_GPIO_Set_Level(VCC_33_EN_MCU, 1);
Delay_Time_Ctrl(30); Delay_Time_Ctrl(30);
RTE_GPIO_Set_Level(x1530_EN_MCU, 1);//1530
Delay_Time_Ctrl(10);
RTE_GPIO_Set_Level(MCU_RSTB_LCD, 1); RTE_GPIO_Set_Level(MCU_RSTB_LCD, 1);
Delay_Time_Ctrl(15); Delay_Time_Ctrl(15);
RTE_GPIO_Set_Level(STBYB_LCD_MCU, 1); RTE_GPIO_Set_Level(STBYB_LCD_MCU, 1);
...@@ -173,33 +175,27 @@ void Amt630hInit(void) ...@@ -173,33 +175,27 @@ void Amt630hInit(void)
AMT630H_CrcErrCounter = 0; AMT630H_CrcErrCounter = 0;
// Param Config // Param Config
LcdSoundParamterData.LcdWidth = 800; LcdSoundParamterData.LcdWidth = 1024;
LcdSoundParamterData.LcdHeight = 480; LcdSoundParamterData.LcdHeight = 600;
LcdSoundParamterData.LcdBpp = 32; LcdSoundParamterData.LcdBpp = 32;
LcdSoundParamterData.LcdVideoInputValid = 0; LcdSoundParamterData.LcdVideoInputValid = 0;
LcdSoundParamterData.Ark7116ResetPin = 0; LcdSoundParamterData.Ark7116ResetPin = 0;
LcdSoundParamterData.LcdInterfaceType = LCD_INTERFACE_TTL; LcdSoundParamterData.LcdInterfaceType = LCD_INTERFACE_TTL;
LcdSoundParamterData.LcdWiringMode = LCD_WIRING_MODE_BGR; LcdSoundParamterData.LcdWiringMode = LCD_WIRING_MODE_BGR;
LcdSoundParamterData.LcdWiringBitOrder = LCD_WIRING_BIT_ORDER_MSB; LcdSoundParamterData.LcdWiringBitOrder = LCD_WIRING_BIT_ORDER_MSB;
// `` LcdSoundParamterData.LcdDotClkReverse = 1; /* QJ 60pin TFT */
LcdSoundParamterData.LcdDotClkReverse = 0; /* NuoMa 50pin TFT */ LcdSoundParamterData.LcdDotClkReverse = 0; /* NuoMa 50pin TFT */
LcdSoundParamterData.LvdsPanelFormat = LVDS_PANEL_FORMAT_TI; LcdSoundParamterData.LvdsPanelFormat = LVDS_PANEL_FORMAT_TI;
LcdSoundParamterData.LvdsPanelData = LVDS_PANEL_DATA_8BIT; LcdSoundParamterData.LvdsPanelData = LVDS_PANEL_DATA_8BIT;
LcdSoundParamterData.LcdTimingVBP = 16; LcdSoundParamterData.LcdTimingVBP = 60;
LcdSoundParamterData.LcdTimingVFP = 16; LcdSoundParamterData.LcdTimingVFP = 12;
LcdSoundParamterData.LcdTimingVSW = 4; LcdSoundParamterData.LcdTimingVSW = 4;
LcdSoundParamterData.LcdTimingHBP = 8; LcdSoundParamterData.LcdTimingHBP = 20;
LcdSoundParamterData.LcdTimingHFP = 8; LcdSoundParamterData.LcdTimingHFP = 80;
LcdSoundParamterData.LcdTimingHSW = 4; LcdSoundParamterData.LcdTimingHSW = 20;
LcdSoundParamterData.LcdClkFreq = 25000000;
LcdSoundParamterData.LcdClkFreq = 48000000;
LcdSoundParamterData.SoundChannelNum = 0; LcdSoundParamterData.SoundChannelNum = 0;
LcdSoundParamterData.SoundFreq = AUDIO_FREQ_48K; LcdSoundParamterData.SoundFreq = AUDIO_FREQ_48K;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment