Init
This commit is contained in:
parent
e5dd3f79f0
commit
aef5353644
4
Gpios.c
4
Gpios.c
|
|
@ -25,7 +25,7 @@ void Gpios_Init() {
|
||||||
crm_periph_clock_enable(CRM_GPIOG_PERIPH_CLOCK, TRUE);
|
crm_periph_clock_enable(CRM_GPIOG_PERIPH_CLOCK, TRUE);
|
||||||
|
|
||||||
tGpios *env = &GPIOS;
|
tGpios *env = &GPIOS;
|
||||||
|
/*
|
||||||
env->LIN1_NSLP = InitGpioPin(GPIOG, GPIO_PINS_7, GPIO_MODE_OUTPUT, GPIO_PIN_NOREVERSE);
|
env->LIN1_NSLP = InitGpioPin(GPIOG, GPIO_PINS_7, GPIO_MODE_OUTPUT, GPIO_PIN_NOREVERSE);
|
||||||
GpioPinSet(&env->LIN1_NSLP, true);
|
GpioPinSet(&env->LIN1_NSLP, true);
|
||||||
|
|
||||||
|
|
@ -43,7 +43,7 @@ void Gpios_Init() {
|
||||||
|
|
||||||
env->LIN6_NSLP = InitGpioPin(GPIOG, GPIO_PINS_2, GPIO_MODE_OUTPUT, GPIO_PIN_NOREVERSE);
|
env->LIN6_NSLP = InitGpioPin(GPIOG, GPIO_PINS_2, GPIO_MODE_OUTPUT, GPIO_PIN_NOREVERSE);
|
||||||
GpioPinSet(&env->LIN6_NSLP, true);
|
GpioPinSet(&env->LIN6_NSLP, true);
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
env->comIntDir.transmit = InitGpioPin(GPIOD, GPIO_PINS_15, GPIO_MODE_OUTPUT, GPIO_PIN_NOREVERSE);
|
env->comIntDir.transmit = InitGpioPin(GPIOD, GPIO_PINS_15, GPIO_MODE_OUTPUT, GPIO_PIN_NOREVERSE);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue