Hi,
Here i need confirmation of how to configue the NEHET pins as the GPIO pins.In my application some of the pins i need to configure as a output high.
Please confirm the below code is correct or not.
/*N2HET1_22,N2HET1_0,N2HET1_13 as output*/
hetREG1->DIR |=0x00002001;
/*N2HET1_22,N2HET1_0 and N2HET1_13 as open drain*/
hetREG1->PDR |=0x00402001;
/*N2HET1_0 and N2HET1_13 as high*/
hetREG1->DOUT |=0x00002001;
/*N2HET1_22 as low*/
hetREG1->DOUT &=0xFFBFFFFF;
And also please confirm the SCI pins configuration given below:
kickerReg->KICKER0=0x83E70B13U;
kickerReg->KICKER1=0x95A4F1E0;
pinMuxReg->PINMUX7 =PINMUX_PIN_38_SCIRX;
pinMuxReg->PINMUX8=PINMUX_PIN_39_SCITX;
kickerReg->KICKER0=0x00000000;
kickerreg->KICKER1 =0x00000000;
Thanks and Regards,
Silpa