Go to Component Library window.
Select Port I/O
The Component Inspector InpB1:Input pin will appear.
in the roll down menu for Component Inspector select pin you want to use as input: for example PP3_PWM3
In the ProcessorExpert Tab of the project window you will find InpB1.c and InpB1.h (in the generated modules->component modules) which says:
c file says: This method is implemented as a macro. See InpB1.h file.
making the file we can see InpB1.h in the InpB1.c file (icon on left top) which presents:
#define InpB1_GetVal() ( \
(bool)((getReg8(PTIP) & 0x08U)) /* Evaluate to port raw data */ \
So when I want to use it and get the value of the pin I will write into a code:
x = InpB1_GetVal(); // get PP3 pin
Best Regards, Ladislav