Let us start building an application, the first point to noise, which are the recommended use for
both the instance of a GPA director, if you just explore and support package far, but then it is recommended
you use a GPA drivers.
Similarly, for a slice, which also GPA is recommended, right?
So we go ahead and we include.
Ex GPI, all right.
So this will work for both their sense of the GPO, then we require the next parameter file for all
the hard work related information.
Looking for a general insurance leader, we need to use ICTs.
See you guys see Dr. Chan for exceptional.
OK, we need to include.
The exception.
Dr.
Right, so this completes all the meditated driver that they required for building an application for
our hardware design right now, remember, we have a two independent instances of a GPEI also be required
to insurgents as well as conflict structure, right?
So we just go ahead.
GPI, you trigger.
OK.
So we do have an initialize function.
So instead of utilizing lookup config and see of ginger that just proceed with an initialize function.
So this just required an instance structure, though, or copy and instance structure.
Now we require two instance structure, right?
So one will be for the slide switch instance of Jupiter and another will be for a push-button sense
of would you be right?
So let's just name this slide OK.
And there will be about right now we proceed and declare the function that could be used to perform
an initialization of our GPI instance of an IP, right?
So we copy the initialize.
And this basically return the status of an initialization note only argument that we need to provide
is an instance structure and second one is an R device, right?
So we go ahead that it just declared status as water waterslides, which OK.
And here we will be adding four slides which we utilize in instead structure to b slide right.
So here we need to add a device.
Similarly, we declared when one status variable to store the status of our initialization of a button.
Medvedev So we just asked, you does b again the instant structural B button for this right now, we
need to provide information of a device.
So we go to an X parameter voltage file.
We look for a slide, right?
So here we have all the information related to the slide instance of an IP, right?
So we just copy this and we are ready to work here, right?
I note the information related to a button we'll give.
We just need to look for about an instance of an IP, right?
So this is the idea that we have just copied this.
And then we added over here, right?
So this will perform an initialization for both.
The instance of an IP now will verify whether initialization is sex, so we could just check whether
status s and.
Status the boat, I equals two x sixty.
Sexist, and if that is the case, we'll just mention.
Dubai, you in it, successful.
Right?
And then we could just mention.
You in it?
Free, right, so this completes the process of initialization.
Now we know that when we are working with the complex application, along with completing an initialization,
we'll also be specifying the different configuration that we need to do for our benefit.
So here we just need to specify the duration, right?
So we will be going ahead and look for a function that is used to set the utilization rate.
So we have a few slight switches and four push button which are present in our hardware, right?
So we'll just be copying this and we are utilizing single channel for both the instance of the first
letter just proceeding with Slide.
OK.
So instance section will be slight the number of channels that we are utilizing as well, and to set
the pin as an input.
But we just need to add N1 great.
So we have a full slide, which is available, so we'll just be adding an f that basically mean for
one or four points, which are set as an input.
Great similar thing we need to do for a push button.
Also, because this also behave as an input device, right?
We just need to change and instead of a slide, we'll just be adding it.
But right now, what this will do is along with an initialization, this will also set the correct addition
rate.
So this complete the process of initialization.