Hi,
If you configure the autoinitialization YES the Init method is called in the PE_low_level_init function, you can see an example here:

Ant the DevicePtr is in the .h file of the component:

If you configure the autoinitialization NO you need to call the Init method in your code where you need it. The init method return a pointer to the device structure that is the one you will use and you can name it as you want, here an example in main.c file
LDD_TDeviceData *MyPWM1Ptr;
int main(void)
{
PE_low_level_init();
MyPWM1Ptr = PWM1_Init(NULL);
//connect pin function example
PWM1_ConnectPin(MyPWM1Ptr, (LDD_TPinMask)PWM1_OUT_PIN);
for(;;){
//user code
}
Hope this information can help you
Best Regards,
Adrian Sanchez Cano
Technical Support Engineer
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------