1
00:00:00,210 --> 00:00:06,270
Let us start building an application, the first point to noise, which are the recommended use for

2
00:00:06,270 --> 00:00:12,600
both the instance of a GPA director, if you just explore and support package far, but then it is recommended

3
00:00:12,600 --> 00:00:14,050
you use a GPA drivers.

4
00:00:14,050 --> 00:00:18,630
Similarly, for a slice, which also GPA is recommended, right?

5
00:00:18,720 --> 00:00:21,780
So we go ahead and we include.

6
00:00:23,180 --> 00:00:25,220
Ex GPI, all right.

7
00:00:25,370 --> 00:00:31,880
So this will work for both their sense of the GPO, then we require the next parameter file for all

8
00:00:31,880 --> 00:00:33,650
the hard work related information.

9
00:00:34,750 --> 00:00:39,450
Looking for a general insurance leader, we need to use ICTs.

10
00:00:40,300 --> 00:00:44,740
See you guys see Dr. Chan for exceptional.

11
00:00:44,990 --> 00:00:47,440
OK, we need to include.

12
00:00:48,650 --> 00:00:50,540
The exception.

13
00:00:51,810 --> 00:00:52,140
Dr.

14
00:00:52,510 --> 00:00:57,720
Right, so this completes all the meditated driver that they required for building an application for

15
00:00:57,720 --> 00:01:02,910
our hardware design right now, remember, we have a two independent instances of a GPEI also be required

16
00:01:03,300 --> 00:01:05,750
to insurgents as well as conflict structure, right?

17
00:01:05,760 --> 00:01:07,010
So we just go ahead.

18
00:01:07,020 --> 00:01:08,840
GPI, you trigger.

19
00:01:09,180 --> 00:01:09,530
OK.

20
00:01:09,780 --> 00:01:12,390
So we do have an initialize function.

21
00:01:12,390 --> 00:01:17,800
So instead of utilizing lookup config and see of ginger that just proceed with an initialize function.

22
00:01:18,000 --> 00:01:22,830
So this just required an instance structure, though, or copy and instance structure.

23
00:01:23,070 --> 00:01:25,080
Now we require two instance structure, right?

24
00:01:25,080 --> 00:01:31,380
So one will be for the slide switch instance of Jupiter and another will be for a push-button sense

25
00:01:31,410 --> 00:01:32,280
of would you be right?

26
00:01:32,580 --> 00:01:35,230
So let's just name this slide OK.

27
00:01:35,230 --> 00:01:41,370
And there will be about right now we proceed and declare the function that could be used to perform

28
00:01:41,370 --> 00:01:45,210
an initialization of our GPI instance of an IP, right?

29
00:01:46,080 --> 00:01:47,730
So we copy the initialize.

30
00:01:47,730 --> 00:01:52,920
And this basically return the status of an initialization note only argument that we need to provide

31
00:01:52,920 --> 00:01:56,930
is an instance structure and second one is an R device, right?

32
00:01:56,940 --> 00:02:02,540
So we go ahead that it just declared status as water waterslides, which OK.

33
00:02:02,550 --> 00:02:08,550
And here we will be adding four slides which we utilize in instead structure to b slide right.

34
00:02:08,550 --> 00:02:10,140
So here we need to add a device.

35
00:02:10,770 --> 00:02:17,900
Similarly, we declared when one status variable to store the status of our initialization of a button.

36
00:02:17,910 --> 00:02:23,700
Medvedev So we just asked, you does b again the instant structural B button for this right now, we

37
00:02:23,700 --> 00:02:25,860
need to provide information of a device.

38
00:02:26,100 --> 00:02:28,470
So we go to an X parameter voltage file.

39
00:02:28,500 --> 00:02:30,180
We look for a slide, right?

40
00:02:30,180 --> 00:02:35,130
So here we have all the information related to the slide instance of an IP, right?

41
00:02:35,130 --> 00:02:39,420
So we just copy this and we are ready to work here, right?

42
00:02:39,500 --> 00:02:43,120
I note the information related to a button we'll give.

43
00:02:43,120 --> 00:02:46,220
We just need to look for about an instance of an IP, right?

44
00:02:46,230 --> 00:02:49,170
So this is the idea that we have just copied this.

45
00:02:49,170 --> 00:02:50,850
And then we added over here, right?

46
00:02:50,850 --> 00:02:53,130
So this will perform an initialization for both.

47
00:02:53,130 --> 00:02:58,770
The instance of an IP now will verify whether initialization is sex, so we could just check whether

48
00:02:58,820 --> 00:03:01,230
status s and.

49
00:03:02,170 --> 00:03:08,890
Status the boat, I equals two x sixty.

50
00:03:09,920 --> 00:03:12,380
Sexist, and if that is the case, we'll just mention.

51
00:03:14,070 --> 00:03:16,650
Dubai, you in it, successful.

52
00:03:16,710 --> 00:03:16,990
Right?

53
00:03:17,730 --> 00:03:20,010
And then we could just mention.

54
00:03:22,070 --> 00:03:23,570
You in it?

55
00:03:24,710 --> 00:03:27,800
Free, right, so this completes the process of initialization.

56
00:03:28,010 --> 00:03:33,410
Now we know that when we are working with the complex application, along with completing an initialization,

57
00:03:33,410 --> 00:03:37,850
we'll also be specifying the different configuration that we need to do for our benefit.

58
00:03:37,970 --> 00:03:41,030
So here we just need to specify the duration, right?

59
00:03:41,030 --> 00:03:46,490
So we will be going ahead and look for a function that is used to set the utilization rate.

60
00:03:46,490 --> 00:03:52,700
So we have a few slight switches and four push button which are present in our hardware, right?

61
00:03:52,700 --> 00:03:59,270
So we'll just be copying this and we are utilizing single channel for both the instance of the first

62
00:03:59,270 --> 00:04:01,040
letter just proceeding with Slide.

63
00:04:01,250 --> 00:04:01,580
OK.

64
00:04:01,910 --> 00:04:07,820
So instance section will be slight the number of channels that we are utilizing as well, and to set

65
00:04:07,820 --> 00:04:08,960
the pin as an input.

66
00:04:08,960 --> 00:04:11,030
But we just need to add N1 great.

67
00:04:11,030 --> 00:04:16,280
So we have a full slide, which is available, so we'll just be adding an f that basically mean for

68
00:04:16,280 --> 00:04:19,250
one or four points, which are set as an input.

69
00:04:19,430 --> 00:04:21,920
Great similar thing we need to do for a push button.

70
00:04:21,920 --> 00:04:24,680
Also, because this also behave as an input device, right?

71
00:04:25,070 --> 00:04:30,260
We just need to change and instead of a slide, we'll just be adding it.

72
00:04:30,260 --> 00:04:35,390
But right now, what this will do is along with an initialization, this will also set the correct addition

73
00:04:35,390 --> 00:04:35,600
rate.

74
00:04:35,600 --> 00:04:38,720
So this complete the process of initialization.
