Commit dc9e5be9 authored by 时昊's avatar 时昊

Merge branch 'shihao' into 'dev'

Shihao

See merge request !6
parents e20aaf97 7fd69ea6
...@@ -66,7 +66,7 @@ static void Power_KL30_Init(void) ...@@ -66,7 +66,7 @@ static void Power_KL30_Init(void)
Menu_User_Init(); Menu_User_Init();
Can_Init(); Can_Init();
Protocol_KL30_Wakeup_Init(); Protocol_KL30_Wakeup_Init();
//RTE_DEEPSLEEP_GPIO_Interrupt_Enable(KL15_AD_IN, Trigger_Rising); RTE_DEEPSLEEP_GPIO_Interrupt_Enable(KL15_AD_IN, Trigger_Rising);
} }
static void Power_Wakeup_Init(void) static void Power_Wakeup_Init(void)
...@@ -90,7 +90,7 @@ static void Power_Wakeup_Init(void) ...@@ -90,7 +90,7 @@ static void Power_Wakeup_Init(void)
Menu_User_WAKEUP(); Menu_User_WAKEUP();
Can_Init(); Can_Init();
Protocol_KL30_Wakeup_Init(); Protocol_KL30_Wakeup_Init();
//RTE_DEEPSLEEP_GPIO_Interrupt_Enable(KL15_AD_IN, Trigger_Rising); RTE_DEEPSLEEP_GPIO_Interrupt_Enable(KL15_AD_IN, Trigger_Rising);
} }
static void Power_LVP_Init(void) static void Power_LVP_Init(void)
......
...@@ -134,7 +134,7 @@ const GPIO_PIN_AF_TABLE_t funcAfTab[] = ...@@ -134,7 +134,7 @@ const GPIO_PIN_AF_TABLE_t funcAfTab[] =
{GROUP_AF_INTP5, {{GPIO_PIOR0,PIOR_BIT4,GPIO_P12}, {PIOR_NONE,PIOR_BIT0,GPIO_DEF}, {PIOR_NONE,PIOR_BIT0,GPIO_DEF}}}, {GROUP_AF_INTP5, {{GPIO_PIOR0,PIOR_BIT4,GPIO_P12}, {PIOR_NONE,PIOR_BIT0,GPIO_DEF}, {PIOR_NONE,PIOR_BIT0,GPIO_DEF}}},
{GROUP_AF_INTP8, {{GPIO_PIOR0,PIOR_BIT0,GPIO_P42}, {GPIO_PIOR0,PIOR_BIT7,GPIO_P00}, {PIOR_NONE,PIOR_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BIT1,GPIO_P16}, {PIOR_NONE,PIOR_BIT0,GPIO_DEF}, {PIOR_NONE,PIOR_BIT0,GPIO_DEF}}}, {GROUP_AF_SDI00, {{GPIO_PIOR0,PIOR_BIT1,GPIO_P16}, {PIOR_NONE,PIOR_BIT0,GPIO_DEF}, {PIOR_NONE,PIOR_BIT0,GPIO_DEF}}},
...@@ -520,7 +520,7 @@ void GPIO_SetPIOR(uint16_t idx,GPIO_Source_t GPIO_Source_Grp) ...@@ -520,7 +520,7 @@ void GPIO_SetPIOR(uint16_t idx,GPIO_Source_t GPIO_Source_Grp)
* @param PORTx: where x can be (0..14) to select the GPIO peripheral for BAT32G137 devices * @param PORTx: where x can be (0..14) to select the GPIO peripheral for BAT32G137 devices
* @param GPIO_Pin: specifies the port bits to be written. * @param GPIO_Pin: specifies the port bits to be written.
* This parameter can be any combination of GPIO_Pin_x where x can be (0..7). * This parameter can be any combination of GPIO_Pin_x where x can be (0..7).
* @param GPIO_Source_Grp: specifies the port bits and port,such as P70P51...... * @param GPIO_Source_Grp: specifies the port bits and port,such as P70��P51......
* @param GPIO_AF: digital functions which can be mapped to any chip pin * @param GPIO_AF: digital functions which can be mapped to any chip pin
* @retval error or success . * @retval error or success .
*/ */
......
...@@ -79,7 +79,7 @@ const uint8_t user_opt_data[4] __attribute__((used)) __attribute__((section(".AR ...@@ -79,7 +79,7 @@ const uint8_t user_opt_data[4] __attribute__((used)) __attribute__((section(".AR
// </e> // </e>
// </e> // </e>
// </h> // </h>
0xEF, 0x7E,
/** /**
* @brief LVD Control BYTE (C1H) * @brief LVD Control BYTE (C1H)
......
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