1
00:00:00,060 --> 00:00:06,180
So once this is done, the next step is to close the Strait, so we know that we have a truce, which

2
00:00:06,180 --> 00:00:06,630
is right.

3
00:00:07,720 --> 00:00:15,310
So we need to first close this switch, so that basically allows us to receive and interpret this from

4
00:00:15,310 --> 00:00:22,600
a very positive and then we need to use the global enable or the specific enabled functions that are

5
00:00:22,600 --> 00:00:25,980
available in the driver that is used to close this.

6
00:00:26,140 --> 00:00:31,390
So that allows us to sing the interpreters out of the periphery.

7
00:00:31,390 --> 00:00:35,140
So this is the Two-Way security that we have when we walk around with.

8
00:00:35,140 --> 00:00:37,560
That interrupts in the future, right?

9
00:00:38,590 --> 00:00:40,720
So let us find out whether we have an able function.

10
00:00:40,720 --> 00:00:47,170
And NGC may say if you go to the ICJ, you could find out that we do have an naval function so that

11
00:00:47,170 --> 00:00:53,800
basically close this bridge now with this Argosy believe to receive and interpret this drama.

12
00:00:54,340 --> 00:00:55,660
Now this required to activate.

13
00:00:55,840 --> 00:00:58,090
OK, so first one is an instance structure.

14
00:00:58,090 --> 00:01:01,870
And secondly, what is a unique interplay direct so we can just copy this?

15
00:01:03,110 --> 00:01:03,740
Go backward.

16
00:01:03,770 --> 00:01:04,110
Hello.

17
00:01:05,880 --> 00:01:11,940
And then usually the first two argument that you have for Connect are equally valid for enable and disable

18
00:01:11,940 --> 00:01:12,870
function, all right.

19
00:01:12,870 --> 00:01:18,390
So we'll just be copying the first two Akemi, which include the Insta structure and the.

20
00:01:19,500 --> 00:01:24,630
Unique idea that we get foreign interest, so once this is done now, the next stage will be to find

21
00:01:24,630 --> 00:01:30,840
out whether they exist in a driver to close the switch if they do not exist and we do not need to do

22
00:01:30,840 --> 00:01:31,260
anything.

23
00:01:31,500 --> 00:01:34,680
But if they exist, we need to add the right to.

24
00:01:35,680 --> 00:01:41,220
To find out the driver's specific or a better fit of specific a definition, we just need to go to our

25
00:01:41,230 --> 00:01:47,590
next guy because this is an IP that we are utilizing and then we will be exploring whether we have interminable

26
00:01:47,590 --> 00:01:48,970
and global inhibited defining.

27
00:01:48,970 --> 00:01:50,720
We have both of them forensic, right?

28
00:01:50,740 --> 00:01:56,500
So we need to attribute of this to enable our switch number to remember this.

29
00:01:57,340 --> 00:01:58,270
So we go ahead.

30
00:01:59,450 --> 00:02:02,630
Let us called mobility, but this just required an instant structure.

31
00:02:02,870 --> 00:02:05,900
So audience and structure is GPIO, right?

32
00:02:05,900 --> 00:02:07,820
So this is the first step that we need to do.

33
00:02:08,210 --> 00:02:14,030
Then if our driver consists of an intimate animal, that is also we need to add, right?

34
00:02:14,030 --> 00:02:18,950
So if you go, you could also find out that we have an interest in the very first document is an instance

35
00:02:18,950 --> 00:02:21,920
of two that we know to find out the must wait.

36
00:02:21,920 --> 00:02:25,190
So let's just go ahead and explore the driver for us.

37
00:02:25,460 --> 00:02:27,170
So will we copy this first?

38
00:02:27,660 --> 00:02:30,480
Now we are utilizing just a single channel on a group.

39
00:02:30,890 --> 00:02:31,730
Remember this thing?

40
00:02:31,910 --> 00:02:36,080
So we are first document as a GPO because that represent our instant structure, right?

41
00:02:36,530 --> 00:02:41,210
The only thing that we need to find out is whether we have a mass for a child with right.

42
00:02:41,210 --> 00:02:48,230
So if you just explore a driver, let's see whether we have some macros which are available to define

43
00:02:48,230 --> 00:02:48,620
the mass.

44
00:02:48,860 --> 00:02:50,570
So here you do not find anything.

45
00:02:51,050 --> 00:02:57,060
OK, so let me just go ahead and explore x GPIO underscore and write.

46
00:02:57,140 --> 00:02:59,470
So if you just click on an F3, right?

47
00:03:00,260 --> 00:03:04,460
So here you see a series of value which have been mentioned for an upset.

48
00:03:04,970 --> 00:03:06,910
OK, and you also find out the Muscovite.

49
00:03:06,950 --> 00:03:12,020
So we need to copy this child because we are utilizing -- logic and we need to.

50
00:03:13,750 --> 00:03:20,880
It as a second novel, right, so once this is done, this completes the process of an interrupt initialization,

51
00:03:20,890 --> 00:03:21,100
right?

52
00:03:21,100 --> 00:03:21,970
So what we did is.

53
00:03:22,150 --> 00:03:25,900
So first we perform an initialization of our children into control.

54
00:03:26,200 --> 00:03:31,860
OK, then we initialize an exception, the enabler exceptionally well.

55
00:03:32,000 --> 00:03:36,420
We also specify the type of an interest along with the master in Japan, right?

56
00:03:36,730 --> 00:03:41,980
But this is just we will be recognizing that in Japan for a unique in Japan.

57
00:03:42,220 --> 00:03:46,050
So you specified in jeopardy and in Japan, right?

58
00:03:46,060 --> 00:03:47,140
And then you need to enable.

59
00:03:47,140 --> 00:03:49,870
So this will close the switch from one.

60
00:03:51,440 --> 00:03:56,540
And too close to number two, you just need to explore the tribal fight if there exist any function,

61
00:03:56,540 --> 00:04:01,640
such as global interrupting, inhibit and interrupt you, never, you need to argue to them.

62
00:04:01,880 --> 00:04:05,540
If you do not find this function, then you do not need to do thing right.

63
00:04:05,540 --> 00:04:08,600
So this will be automatically sent by night in D.C..

64
00:04:08,930 --> 00:04:10,730
All right, Rachel.

65
00:04:11,740 --> 00:04:17,260
We go ahead with this now only thing that is left here is to define what should be done when we have

66
00:04:17,260 --> 00:04:17,600
an inch.

67
00:04:17,760 --> 00:04:22,660
OK, so the first thing as soon as you come to an end to Spangler is to.

68
00:04:23,770 --> 00:04:29,140
First, disable and interface, so we go ahead and find out the function we have to disable and enter,

69
00:04:29,830 --> 00:04:33,070
so we'll just go ahead and then we copy this.

70
00:04:33,110 --> 00:04:35,030
Now this is too personal.

71
00:04:35,050 --> 00:04:39,880
The interview requests that we received so will not be receiving any further internal requests request.

72
00:04:39,880 --> 00:04:45,460
We will be serving the existing interest request and then we accept the new request.

73
00:04:45,640 --> 00:04:48,850
To do that, we first disable and OK again.

74
00:04:48,850 --> 00:04:53,170
This request to the first one is an instant structure and second one is in Moscow.

75
00:04:53,770 --> 00:04:55,420
That is what we're going to have to adhere.

76
00:04:56,350 --> 00:04:57,430
Once this is done.

77
00:04:58,340 --> 00:05:02,840
Right then, OK, we will be doing the series of things that we want to do.

78
00:05:03,110 --> 00:05:07,700
Basically, when we have an interview and after we finish, our processing will again be.

79
00:05:08,960 --> 00:05:13,040
Enabling an interest so that we could be able to receive the new contract requests.

80
00:05:14,120 --> 00:05:15,960
So these are the two things that we need to do.

81
00:05:15,980 --> 00:05:21,950
And if you have any pending interests in a queue, that could also be clear by utilizing if you just

82
00:05:21,950 --> 00:05:22,910
explore the drivers.

83
00:05:22,910 --> 00:05:29,570
We also have an interface that will basically clear up any spending when we start accepting the fresh

84
00:05:29,570 --> 00:05:30,300
interest rate.

85
00:05:30,310 --> 00:05:35,360
So we will be inviting this over here again, this to argument rate.

86
00:05:36,360 --> 00:05:41,100
So this will be the mandatory step that you need to follow when you walk around with an interpreter.

87
00:05:41,310 --> 00:05:48,500
First thing that you do in Japan is to disable it so that you do not deceive the new interpreter twist

88
00:05:48,510 --> 00:05:50,510
until you solve an existing interpreter.

89
00:05:51,270 --> 00:05:52,410
Then you do a lawsuit.

90
00:05:53,470 --> 00:05:56,290
Clear any interest pending in the queue.

91
00:05:56,630 --> 00:06:02,460
OK, and then again, enable him to back before we start sensing a new and thanks only thing that we

92
00:06:02,470 --> 00:06:07,420
got to do over here is as soon as we have any interest, we will be reading the value of a switch.

93
00:06:07,420 --> 00:06:09,070
We will be storing it into somebody.

94
00:06:09,070 --> 00:06:13,000
We will be sending that data on a screen that is an algorithm that we want to implement.

95
00:06:14,310 --> 00:06:20,770
All if we already set the direction now the function to read the value is discretely right and this

96
00:06:20,770 --> 00:06:25,330
basically secluded and you 32, do they just go ahead and declare one very well, you 32.

97
00:06:26,340 --> 00:06:26,760
OK.

98
00:06:26,830 --> 00:06:29,690
And this would just be naming as jittery.

99
00:06:30,600 --> 00:06:31,600
OK, we just added a.

100
00:06:32,760 --> 00:06:39,180
So this required an argument as an instance structure and the elaborate so us an instance structure

101
00:06:39,180 --> 00:06:39,540
is.

102
00:06:40,840 --> 00:06:46,240
GPIO channel numbers, right, so once we review the leader from a switch now.

103
00:06:47,610 --> 00:06:51,660
We gonna sing this value, OK, which?

104
00:06:53,000 --> 00:06:53,690
Value.

105
00:06:54,750 --> 00:06:55,200
Read.

106
00:06:57,220 --> 00:07:02,700
This is going to send to ActionScript, so we know that we have our value stored in that.

107
00:07:03,640 --> 00:07:07,600
So this is an algorithm that we need to perform and we have an interpreter.

108
00:07:07,790 --> 00:07:09,610
So we are reading this ritual.

109
00:07:10,000 --> 00:07:13,840
We are storing it in and data and then we are sending it on to a console.

110
00:07:13,910 --> 00:07:14,140
Right.

111
00:07:14,410 --> 00:07:17,890
What is this is that we will be clearing the pending request.

112
00:07:18,130 --> 00:07:24,280
And then again, enable an enterprise to this, allow us to again start receiving an interest rate so

113
00:07:24,280 --> 00:07:25,920
this can be user application code.

114
00:07:26,740 --> 00:07:27,010
Right.

115
00:07:27,400 --> 00:07:30,340
So this chip, while working with nature, is very simple.

116
00:07:30,370 --> 00:07:33,030
First, we proceed with an initialization periphery.

117
00:07:33,310 --> 00:07:41,110
Then we proceed with the initialization of and then we initialize and enable exception.

118
00:07:41,200 --> 00:07:48,220
OK, then we specify the interrupt handler for a unique interface, loads the switches, specify the

119
00:07:48,230 --> 00:07:49,040
initial pilot.

120
00:07:49,150 --> 00:07:49,870
And then.

121
00:07:51,160 --> 00:07:54,100
You just need to call all the functions away here, right?

122
00:07:54,100 --> 00:07:58,480
So for GPIO and it will just be calling this, we're here.

123
00:07:59,620 --> 00:08:04,580
OK, and for an into controller will just be adequate to work.

124
00:08:04,870 --> 00:08:11,380
Right, so this to our mind, so this will perform an initialization of both GPIO as well as Lake.

125
00:08:11,860 --> 00:08:17,040
Now when we have an trouble, you just need to wait for it to occur to do just wait.

126
00:08:17,170 --> 00:08:22,510
We will be adding one and then nothing but just an empty calibrations, right?

127
00:08:22,510 --> 00:08:27,700
So this allows us to wait for end to proper and then reserve serve and interpret straight to this complete

128
00:08:27,770 --> 00:08:30,760
output that it just built an entire application project.

129
00:08:32,120 --> 00:08:35,860
So here we are utilizing ahead of its declaration.

130
00:08:36,050 --> 00:08:42,620
So we'll just be declaring the instance in structure about lying to obtain the right to life, this

131
00:08:42,620 --> 00:08:45,650
is just that is just again, build our application project.

132
00:08:45,950 --> 00:08:47,120
So this error is gone.

133
00:08:47,660 --> 00:08:49,400
We have one more error here.

134
00:08:49,400 --> 00:08:50,540
So let me just go ahead.

135
00:08:52,480 --> 00:08:54,710
This should be exception.

136
00:08:56,320 --> 00:09:02,290
What this is done, let it just build our project, our biggest success rate, and we will do that and

137
00:09:02,300 --> 00:09:06,370
you know, what we're going to do is just be starting.

138
00:09:07,270 --> 00:09:11,740
I'd like to just go ahead and select an application project.

139
00:09:11,740 --> 00:09:14,740
Right click Debug guys, launch one hard, right?

140
00:09:15,870 --> 00:09:22,170
So this will switch our perspective from design to debunk one thing that we need to do is to connect

141
00:09:22,170 --> 00:09:24,780
the widest terminal to the comfort, right?

142
00:09:24,790 --> 00:09:28,890
So we go ahead and we connect our widest terminal to comfort.

143
00:09:29,870 --> 00:09:36,620
OK, and then with talk, just click on this resume button, so you could see GPI when it is successful,

144
00:09:36,620 --> 00:09:38,270
and it is also success.

145
00:09:38,380 --> 00:09:42,010
Now what I do is I just try to change the value of Switch.

146
00:09:42,020 --> 00:09:44,030
So right now, all the switch.

147
00:09:45,470 --> 00:09:46,350
Adding on Stewart.

148
00:09:46,680 --> 00:09:50,840
OK, so I'll just be first turning off all this, we just let it just turn off all this.

149
00:09:50,840 --> 00:09:53,680
We just will be finding the value that we read at zero.

150
00:09:53,690 --> 00:09:56,270
So let not turn on the Elizabeth switch, right?

151
00:09:56,280 --> 00:09:56,780
So this will.

152
00:09:57,950 --> 00:10:01,850
Reason and interpret questioning the value that we will be reading is, well, this makes sense.

153
00:10:01,850 --> 00:10:05,570
So if I turn on the switch, so switch value read will be three.

154
00:10:06,370 --> 00:10:10,520
If I turn on the next one, the value be seven and if I turn on the last one.

155
00:10:10,610 --> 00:10:13,670
OK, so we will be getting the value that is 50 too.

156
00:10:13,670 --> 00:10:19,400
As soon as we change the state of the switch, we have an interest and then where we are reading the

157
00:10:19,400 --> 00:10:22,530
value of a switch and then we are sending it on to read.

158
00:10:22,550 --> 00:10:24,910
So this is how we work around with an interest.

159
00:10:24,950 --> 00:10:27,470
So at the beginning, the process may be a bit difficult.

160
00:10:27,470 --> 00:10:34,370
But as you practice, more of a number of different things becomes easy to handle and that you could

161
00:10:34,370 --> 00:10:37,160
easily work around with it into from a complex.
