1
00:00:00,120 --> 00:00:08,100
So let's consider how we work with and interrupt when we consider the resources that are available with

2
00:00:08,100 --> 00:00:09,000
the processing system.

3
00:00:09,240 --> 00:00:15,960
So we'll be considering a suit similar here and we'll be going to an entire procedure for how we use

4
00:00:15,960 --> 00:00:17,700
and interpret an issue of time.

5
00:00:17,730 --> 00:00:20,880
Right now, we already know that time we're working to more pull more.

6
00:00:20,890 --> 00:00:27,810
We already covered something that will be considering here is an inch or so as soon as time reaches

7
00:00:27,810 --> 00:00:28,830
to zero.

8
00:00:28,920 --> 00:00:36,010
So we'll automatically get an interrupt, OK, and that will be sensing and doing all respect to logic.

9
00:00:36,090 --> 00:00:43,290
So only thing that we need to having a block design is and you work because that will help us to analyze

10
00:00:43,290 --> 00:00:45,040
how our logic is working, right?

11
00:00:45,060 --> 00:00:48,810
So by the time I enable, we do not need to do anything.

12
00:00:48,810 --> 00:00:54,180
So the fundamental block design, the fundamental piece of script we are utilizing from the beginning

13
00:00:54,180 --> 00:00:55,100
could just be added.

14
00:00:55,290 --> 00:00:56,900
So we only have fixed.

15
00:00:57,720 --> 00:00:58,050
OK.

16
00:00:58,290 --> 00:01:01,980
And as you timer is enabled by default, we do not need to do anything.

17
00:01:02,340 --> 00:01:02,670
OK.

18
00:01:03,000 --> 00:01:08,360
So first thing that we do after our hardware design is ready to create an app.

19
00:01:08,730 --> 00:01:12,240
So once that generation is successful, go ahead and create.

20
00:01:12,960 --> 00:01:17,210
OK and exclude the hardware file along with an midstream into an SD.

21
00:01:17,250 --> 00:01:17,510
Right.

22
00:01:17,520 --> 00:01:19,590
So I have already written the code.

23
00:01:19,720 --> 00:01:23,040
It will just be going through an entire code to understand the procedure.

24
00:01:23,070 --> 00:01:23,340
Right?

25
00:01:24,060 --> 00:01:31,290
So for general intra controller, we need to include a dirty joke.

26
00:01:31,590 --> 00:01:38,370
Experimental detection will give us an idea about all the hardware related information S.U. timer we

27
00:01:38,370 --> 00:01:40,690
require because we need to initialize that right?

28
00:01:40,710 --> 00:01:46,670
And finally, the exception will be keeping this fundamental check with this right.

29
00:01:46,680 --> 00:01:52,100
So first process when we start writing an application is to initialize a pacesetter as well.

30
00:01:52,800 --> 00:01:53,050
Right.

31
00:01:53,070 --> 00:01:54,600
So if you just go to a code.

32
00:01:55,200 --> 00:02:01,230
So here we have a timer function that is used to initialize esut time, right?

33
00:02:01,920 --> 00:02:10,230
So we required to structure one will be an instant structure, and either one will be the config structure.

34
00:02:10,260 --> 00:02:10,500
Right.

35
00:02:10,530 --> 00:02:12,730
So here we declare double that.

36
00:02:12,730 --> 00:02:14,190
So we have a config structure.

37
00:02:14,520 --> 00:02:18,450
We just go to the esut diamond artichoke.

38
00:02:18,480 --> 00:02:20,400
There you'll be finding that new structure.

39
00:02:20,440 --> 00:02:23,160
So first one of them is the config structure.

40
00:02:23,460 --> 00:02:27,080
And then you have an instance of a up that we have to do with you.

41
00:02:27,420 --> 00:02:29,720
Quite often fixed structure, you need to be a pointer.

42
00:02:29,730 --> 00:02:31,410
So simple, declarative pointer.

43
00:02:31,410 --> 00:02:34,730
And then we have a key right now to initialize the timer.

44
00:02:34,740 --> 00:02:37,200
We post user lookup config function.

45
00:02:37,260 --> 00:02:39,300
OK, and we pass device idea.

46
00:02:39,300 --> 00:02:43,970
So where we will be getting a device, it is from x parameter dart h, right?

47
00:02:43,980 --> 00:02:52,350
So if we just go to an experimental stage and look for s you timer, OK, you will be finding the device.

48
00:02:52,350 --> 00:02:54,820
I do something interesting to note here.

49
00:02:54,840 --> 00:02:55,410
Here it is.

50
00:02:55,920 --> 00:02:57,480
You do not find an interrupt.

51
00:02:57,660 --> 00:02:58,140
Be working.

52
00:02:58,170 --> 00:02:58,490
All right.

53
00:02:58,500 --> 00:03:05,220
So as in the case of a GPA, we immediately find an interrupt Aida unique interrupt that we specify

54
00:03:05,400 --> 00:03:07,900
when we utilize du Gascony.

55
00:03:08,010 --> 00:03:08,250
Right?

56
00:03:08,790 --> 00:03:15,570
So in such case, whenever you are working within this block, OK, and you do not find any information.

57
00:03:15,570 --> 00:03:20,500
So a new finding if you just go to an OK line, you have one more experimenter.

58
00:03:20,790 --> 00:03:25,500
Hello, friends, I did the experiment during the school B. So if you just go in there.

59
00:03:25,830 --> 00:03:30,690
So there you will be finding all the information related to the piece, right?

60
00:03:30,710 --> 00:03:35,760
So here you would see the inject ideas that we required when we utilized to connect.

61
00:03:35,820 --> 00:03:43,800
OK, and here you have you timeline to similarly, UTC into pages are also here.

62
00:03:44,280 --> 00:03:44,610
OK.

63
00:03:44,700 --> 00:03:47,180
Washed off the UPC is deep.

64
00:03:47,190 --> 00:03:48,480
Yes, is also there.

65
00:03:48,840 --> 00:03:54,550
They tend to run until so any information you wouldn't be able to find in the next parameter guarded

66
00:03:54,580 --> 00:03:56,580
to you just need to go to experiment.

67
00:03:56,910 --> 00:04:00,630
And this could be a store, and this is included in an experiment.

68
00:04:01,140 --> 00:04:05,940
OK, so if you just go ahead and take it and experimented on that, you'll be finding this is included

69
00:04:06,270 --> 00:04:06,670
in it.

70
00:04:07,530 --> 00:04:10,290
Once we generate the data for our config structure.

71
00:04:10,620 --> 00:04:10,950
OK.

72
00:04:11,220 --> 00:04:14,090
We will be utilizing it in n cfd initially.

73
00:04:14,160 --> 00:04:18,750
Right here, we'll be passing the instance structure, config structure.

74
00:04:18,750 --> 00:04:25,560
And you said one more thing that we'll be doing is just to verify whether initialization is successful

75
00:04:25,560 --> 00:04:25,950
or not.

76
00:04:26,310 --> 00:04:28,260
So whatever this function, return.

77
00:04:29,220 --> 00:04:37,710
We'll just be connecting it to see opportunity later to see if the rating s32 said that we'll be connecting

78
00:04:37,710 --> 00:04:38,220
to a city.

79
00:04:38,460 --> 00:04:45,160
OK, and then we were just verifying their statuses existing.

80
00:04:46,410 --> 00:04:55,170
Success, if that is the case, will just be utilizing massive brain printer to specify that timer and

81
00:04:55,180 --> 00:04:56,970
that success.

82
00:04:57,510 --> 00:04:57,840
OK.

83
00:04:57,980 --> 00:05:00,060
Else we just be biding.

84
00:05:01,490 --> 00:05:02,530
Timer in.

85
00:05:03,830 --> 00:05:04,070
Right.

86
00:05:04,130 --> 00:05:04,940
This makes sense.

87
00:05:06,140 --> 00:05:10,980
So this is an entire logic that we need to perform, OK, to initially take time.

88
00:05:11,180 --> 00:05:11,440
Right?

89
00:05:11,810 --> 00:05:16,660
The next initialization process is to initialize a general into a controller, right?

90
00:05:16,670 --> 00:05:21,730
So to find out all the function, you have gassy, dark, right.

91
00:05:21,750 --> 00:05:23,660
So here we have a structure.

92
00:05:24,110 --> 00:05:28,340
First one is this config structure and then we have a.

93
00:05:29,360 --> 00:05:38,370
So we just go there and we'll be declaring the config structure for you as well as an instance.

94
00:05:38,750 --> 00:05:38,970
Right.

95
00:05:38,990 --> 00:05:41,570
So perfect structure of Guinness 2.0 and name.

96
00:05:41,900 --> 00:05:49,850
Yeah, if you create an independent function, we will be initiating RJC to first step is to use a lookup

97
00:05:49,850 --> 00:05:52,910
party where we'll be passing our Jack device.

98
00:05:53,130 --> 00:05:56,590
Again, this could be easily found or Chromecast parameter dot edge.

99
00:05:56,930 --> 00:06:01,550
OK, and then we will be utilizing CFG initialize where we send instance structure.

100
00:06:01,880 --> 00:06:07,970
The config structure and CPU researchers again will just be checking whether a pretense exists.

101
00:06:08,630 --> 00:06:12,710
So here also will be clearing status.

102
00:06:13,040 --> 00:06:13,370
OK.

103
00:06:14,180 --> 00:06:18,350
And then this should be close to state state.

104
00:06:18,380 --> 00:06:23,470
And then we'll just be verifying whether the GC images success rate.

105
00:06:23,600 --> 00:06:27,470
The message that we'll be sending is GC and it successful.

106
00:06:27,500 --> 00:06:29,180
Are you guys see?

107
00:06:29,780 --> 00:06:30,800
And it feels right.

108
00:06:31,250 --> 00:06:35,900
So these are the two mandatory step that we perform and this represent us step, right?

109
00:06:35,900 --> 00:06:37,970
So we will be initialized, not benefited.

110
00:06:37,970 --> 00:06:41,810
So very fitting awesome guesses as you timer.

111
00:06:41,820 --> 00:06:44,120
And we'll also be initializing you guys.

112
00:06:44,330 --> 00:06:44,600
Right?

113
00:06:44,990 --> 00:06:46,550
So this completes step one.

114
00:06:46,820 --> 00:06:52,450
The next step is to specify all the option related to the entropy controller, right?

115
00:06:52,460 --> 00:06:56,480
So step before us is to enable an exception.

116
00:06:57,290 --> 00:07:01,280
OK, so to do that, we first need to need an exception.

117
00:07:01,340 --> 00:07:07,010
Then we need to identify the type of an OK by utilizing exception register handler.

118
00:07:07,130 --> 00:07:09,100
OK, and then we need to enable it.

119
00:07:09,110 --> 00:07:14,660
So if you just go ahead, the first function that we are calling by default is in select ception and

120
00:07:14,870 --> 00:07:16,640
then in and register handler.

121
00:07:16,970 --> 00:07:22,400
First thing that we need to specify is the type of an intro, which in this case is also an right.

122
00:07:22,430 --> 00:07:23,540
So if you just go ahead.

123
00:07:24,020 --> 00:07:33,130
So in a ZIL exception that h OK, we'll be finding, we have had unique ID for an eye.

124
00:07:33,280 --> 00:07:35,930
So this will just be a single here, right?

125
00:07:35,930 --> 00:07:42,130
So this is the first argument that we have then the next argument is an intro time to the right so far.

126
00:07:42,140 --> 00:07:46,360
OK, yes, it will be a master handler that we have in NJEA.

127
00:07:46,610 --> 00:07:53,430
So we'll just be going into C and there you have in my student comp. So this will just be adding as

128
00:07:53,430 --> 00:07:56,820
a second argument with the typecasting exception.

129
00:07:57,200 --> 00:07:57,490
Right?

130
00:07:57,860 --> 00:08:02,510
And the last thing that we required is to specify, is it Gaussians?

131
00:08:02,670 --> 00:08:03,020
So, OK.

132
00:08:03,020 --> 00:08:09,080
So for us, it is saying this completes the step to where we are string the type of an intro.

133
00:08:09,140 --> 00:08:09,440
OK.

134
00:08:09,620 --> 00:08:12,860
And then we need to enable our exception.

135
00:08:13,040 --> 00:08:13,170
Right.

136
00:08:13,190 --> 00:08:16,610
So these are the three steps that we perform in step three, right?

137
00:08:17,150 --> 00:08:26,450
Then the Step C is where we specify the intercept handler, OK, we will be enabling entropy, so we

138
00:08:26,450 --> 00:08:30,280
need to enable an input from a paper.

139
00:08:30,350 --> 00:08:30,750
OK.

140
00:08:30,770 --> 00:08:37,850
And this you'll be finding an end to hated file, and we also need to output an intro from a value.

141
00:08:38,300 --> 00:08:42,100
So this usually will be finding a net benefit of specific time.

142
00:08:42,180 --> 00:08:45,870
So if you just go away first, we utilized GSU Connect.

143
00:08:45,910 --> 00:08:49,790
Now here we need to first specify an end entropy instance, which is.

144
00:08:51,000 --> 00:08:52,060
III, OK?

145
00:08:52,080 --> 00:08:57,570
The second thing that we have is if you just go to F3, right?

146
00:08:57,840 --> 00:09:03,080
So first, we need to specify instance, then the unique IED, right, so interrupted.

147
00:09:03,870 --> 00:09:07,800
And that you will be finding when we go to experimentar and the school.

148
00:09:08,890 --> 00:09:09,230
Yes.

149
00:09:09,240 --> 00:09:13,290
So there you have an unique interrupted I.D., our timer.

150
00:09:13,830 --> 00:09:17,040
So we just need to copy this and we need to add a it here.

151
00:09:17,110 --> 00:09:17,350
Right.

152
00:09:17,370 --> 00:09:24,510
So once you specify next is to specify an inch insofar as an interim time, there is timer handler,

153
00:09:24,570 --> 00:09:24,830
right?

154
00:09:24,840 --> 00:09:28,590
So that is what we specified along with the typecasting, right?

155
00:09:29,100 --> 00:09:35,220
And the last thing is whether you want any data callback reference, this could be set at zero.

156
00:09:35,330 --> 00:09:41,730
OK, if you do not want any or it could also be specified as a timer, so you'll be getting the data

157
00:09:41,730 --> 00:09:42,960
related to a time, right?

158
00:09:43,710 --> 00:09:50,610
So as we specify the interrupt handler, as well as a unique in jeopardy, the next step is to enable

159
00:09:50,970 --> 00:09:52,710
and interrupt input.

160
00:09:52,860 --> 00:09:57,420
You are right, and that could be done by utilizing enable function.

161
00:09:57,690 --> 00:10:05,130
Then here we just need to specify and in chip instance and unique timer interrupt.

162
00:10:05,430 --> 00:10:05,660
Right.

163
00:10:05,700 --> 00:10:07,930
So this could be added here.

164
00:10:09,000 --> 00:10:15,120
The next step that we have is to now we have enabled the input to AIG.

165
00:10:15,510 --> 00:10:22,530
Now we also need to enable an output from the benefit and so that they could send an interest to AIG

166
00:10:23,400 --> 00:10:28,820
and this could be found out from the diamond specification applied to for us, the diamond specific

167
00:10:28,830 --> 00:10:29,680
idea probabilities.

168
00:10:30,690 --> 00:10:31,670
See you guys.

169
00:10:31,950 --> 00:10:35,600
OK, so here you'll be finding you have and function to enable.

170
00:10:36,090 --> 00:10:42,090
So let me just look for the functions which are available for enabling an instructor.

171
00:10:43,970 --> 00:10:46,310
If you just go to a timer driver.

172
00:10:46,340 --> 00:10:55,670
OK, so here you have an option to enable an interest, OK, so just look forward whether we also have

173
00:10:55,670 --> 00:10:57,860
anything related to a global interest rate.

174
00:10:58,280 --> 00:10:59,870
So if you just go ahead.

175
00:11:00,020 --> 00:11:02,300
So we do not have anything as global interest rate.

176
00:11:02,310 --> 00:11:09,060
So if that is the case, you just need to then add this enable and that is what we are doing over here.

177
00:11:09,080 --> 00:11:12,040
So if you just look for an interest in it.

178
00:11:12,080 --> 00:11:17,030
So here we are utilizing and issue timer enable interest rate.

179
00:11:17,040 --> 00:11:24,300
So this will enable an output from our favorite and this enable will enable an input to it.

180
00:11:24,470 --> 00:11:28,960
So these are the two security check that we have between the source and destination of.

181
00:11:29,510 --> 00:11:29,780
Right.

182
00:11:29,780 --> 00:11:33,520
So these are all the managers need to perform.

183
00:11:33,530 --> 00:11:39,170
The last thing that we need to do is to specify what you going to do when you have an interest rate.

184
00:11:39,290 --> 00:11:42,850
So first thing that we do is to disable an interest rate.

185
00:11:42,860 --> 00:11:50,030
So dysfunction you will be finding when you look at do the get paid off, the specific basis.

186
00:11:50,330 --> 00:11:51,050
So you have an.

187
00:11:52,020 --> 00:11:57,750
Enabling it to function, you also have a discipline to function, right, so you have a discipline

188
00:11:57,750 --> 00:11:58,350
to function.

189
00:11:59,040 --> 00:12:05,240
Then we will be moving ahead and we'll be checking whether timer is really expired, right?

190
00:12:05,250 --> 00:12:07,680
So when time where you just do zero, we have an intro.

191
00:12:08,010 --> 00:12:10,980
So here we'll just be checking with the timer is really expired.

192
00:12:11,130 --> 00:12:13,260
So that will also be a two way check.

193
00:12:13,260 --> 00:12:17,580
And once that is the case, will just be displaying that we have an interrupt.

194
00:12:18,330 --> 00:12:18,690
OK.

195
00:12:19,830 --> 00:12:25,620
And along with this, what are we gonna do is we will be clearing up the interview, you know, so clear

196
00:12:25,620 --> 00:12:28,920
into this is the function that we utilize for that.

197
00:12:29,310 --> 00:12:31,860
And then we are again enabling an intro, right?

198
00:12:32,010 --> 00:12:36,810
So these are the series of steps, and these are very similar to what we do in and UPI.

199
00:12:36,870 --> 00:12:37,620
All right.

200
00:12:38,730 --> 00:12:44,700
Now will go ahead to our main program, so any platform is used to initialize you, are they then we

201
00:12:44,910 --> 00:12:46,230
initializing hour timer.

202
00:12:46,560 --> 00:12:48,990
This is used to initialize our JIC.

203
00:12:49,020 --> 00:12:52,020
OK, so let's assume we want a delay of one second.

204
00:12:52,020 --> 00:12:58,560
So we'll just be loading our timer to the value of three three three miga today because we know that

205
00:12:58,560 --> 00:13:03,900
our esut timer operates at half of the frequency that is.

206
00:13:05,220 --> 00:13:11,580
Half of six, seven, and that is 3:30 p.m. to me right here, what we do is listen to you.

207
00:13:11,610 --> 00:13:13,440
We enable an hour to return.

208
00:13:13,620 --> 00:13:20,610
So in that case, what will happen is as soon as our counter reaches to zero, this will automatically

209
00:13:20,610 --> 00:13:23,970
initialize our counter back to the value that we specify.

210
00:13:23,970 --> 00:13:25,350
That is thirty three meters.

211
00:13:25,360 --> 00:13:29,910
So in that case, we will be continuously getting high unemployment rate.

212
00:13:29,910 --> 00:13:35,430
So as soon as we reach to a zero will again be initializing to three thirty three meters and then will

213
00:13:35,430 --> 00:13:39,950
be continuously getting an inch or in an interval of one second.

214
00:13:39,960 --> 00:13:43,100
And then we just need to start our application, right?

215
00:13:43,140 --> 00:13:47,190
So let's just go ahead and test this application.

216
00:13:47,380 --> 00:13:51,390
Since we are utilizing an interview, we do not need to do anything.

217
00:13:51,960 --> 00:13:54,690
We are just tweaking by utilizing a view, right?

218
00:13:55,200 --> 00:13:56,790
So we are loading our timer.

219
00:13:57,120 --> 00:14:02,400
OK, well, loading our timer with the value, depending on the delay that we want.

220
00:14:02,610 --> 00:14:05,370
OK, then here we enable an hour to reload.

221
00:14:05,650 --> 00:14:11,220
Now this will allow us to reload our timer as soon as it reaches to zero.

222
00:14:11,490 --> 00:14:17,310
OK, and then we are starting our time so desired the operation specific setting that we are doing right

223
00:14:17,490 --> 00:14:18,870
and then we are simply waiting.

224
00:14:19,200 --> 00:14:22,450
So let me just go ahead and try to program on SPG.

225
00:14:24,050 --> 00:14:31,820
So once programming is successful, will go away and will try to personally just disconnect our computer

226
00:14:31,820 --> 00:14:38,930
and try to connect it back to respect your great religious school and try to really launch on hardware.

227
00:14:40,120 --> 00:14:48,190
Now, if you see and if you do see that we have an interest at an interval of one ticket right now,

228
00:14:48,550 --> 00:14:50,480
the reason we do that, this value.

229
00:14:50,570 --> 00:14:56,900
OK, and as soon as it reaches to zero, we'll give you have an intro and then since we enable it all

230
00:14:56,920 --> 00:14:57,610
to return more.

231
00:14:57,790 --> 00:15:04,690
So counter will be automatically initialized to this right now if you just try to disable desire to

232
00:15:04,690 --> 00:15:05,350
reload mode.

233
00:15:05,800 --> 00:15:12,900
OK, ready, just try to disable one or two reload mode will not be finding that we will need the interrupt

234
00:15:12,910 --> 00:15:15,760
continuously at an interval that we specify, right?

235
00:15:15,760 --> 00:15:25,110
So if we just try to relaunch the session, OK, and if we just try this again.

236
00:15:25,420 --> 00:15:29,650
OK, so let me just again try to perform an execution of a code.

237
00:15:30,670 --> 00:15:32,590
OK, so we have disable an auto reload.

238
00:15:33,190 --> 00:15:36,940
What will happen is this will only create a single update.

239
00:15:36,940 --> 00:15:38,950
After that, we won't be finding anymore.

240
00:15:39,160 --> 00:15:45,370
So we have a timer in Texas, but we have seen it successful and then we have a single in Japan after

241
00:15:45,370 --> 00:15:47,950
that, since we have not included our timer.

242
00:15:48,250 --> 00:15:52,030
OK, we won't be able to find out any further interest rate now.

243
00:15:52,030 --> 00:15:53,460
This could be handled in second.

244
00:15:53,590 --> 00:16:00,900
So if you are disabling an auto mode, so once you come out of fire and you just restart your time.

245
00:16:00,960 --> 00:16:01,180
Right.

246
00:16:01,180 --> 00:16:02,290
So what this will do is.

247
00:16:03,330 --> 00:16:07,110
Now, this will again lower the symbol that you one.

248
00:16:07,160 --> 00:16:13,830
OK, so for example, here we loaded our timer with 333 megahertz when we call restart timer.

249
00:16:13,830 --> 00:16:17,100
So this will automatically lower the counter to that value.

250
00:16:17,340 --> 00:16:17,760
OK.

251
00:16:17,800 --> 00:16:19,720
It will again restart our time.

252
00:16:19,790 --> 00:16:27,660
OK, and this could be verified by just seeing all the modification and performing the execution.

253
00:16:28,320 --> 00:16:34,500
Right now, you could see we have an intro and then we again will see a repetition of an inch up with

254
00:16:34,500 --> 00:16:35,330
this rate.

255
00:16:35,610 --> 00:16:39,270
They call it the proceed with, then enabling an hour to reload more.

256
00:16:39,300 --> 00:16:45,330
So there you do not need to use this restart timer function because that will automatically reload our

257
00:16:45,330 --> 00:16:45,720
timer.

258
00:16:46,140 --> 00:16:52,260
But if you are sticking to disabling inauguration mode, and that is when you come out of it and just

259
00:16:52,380 --> 00:16:56,340
restart your time, so that will again be working in a similar fashion, right?

260
00:16:56,340 --> 00:17:01,410
So this is how you utilize the entropy, then you type.
