1
00:00:00,060 --> 00:00:06,780
So let us try to understand how we utilize the intrepid washed up again, we'll be considering the washed

2
00:00:06,780 --> 00:00:08,850
up primer, which are private to our teeth.

3
00:00:09,060 --> 00:00:14,210
That is 32 bit washed off timer, OK, which we already discussed how to utilize it in a bowl.

4
00:00:14,560 --> 00:00:14,730
Right.

5
00:00:15,060 --> 00:00:20,100
So I blocked it and remain C. We do not need to do any changes because they are enabled by default,

6
00:00:20,130 --> 00:00:20,400
right?

7
00:00:21,090 --> 00:00:28,170
So now when we go to and see, OK, the first thing that we do is to include all the header plays that

8
00:00:28,170 --> 00:00:30,660
are required for a basic rate.

9
00:00:32,030 --> 00:00:39,110
So for a washed up, Pamela, we have WTT, right, so this could be easily found out by looking into

10
00:00:39,110 --> 00:00:42,200
the pool support package so that it does go ahead.

11
00:00:43,930 --> 00:00:45,450
So if you go to and Mrs.

12
00:00:45,840 --> 00:00:54,250
OK, so for our watchdog timer, we have an siu wtt for gender controller, we have, as you guys see,

13
00:00:54,340 --> 00:00:54,700
OK.

14
00:00:55,060 --> 00:00:58,110
And we only have this stupider pay rate.

15
00:00:58,120 --> 00:01:02,860
So for adding an exception, handlers, we also need to include selexipag.

16
00:01:03,000 --> 00:01:03,180
Right.

17
00:01:03,190 --> 00:01:04,390
So these are some of the many.

18
00:01:04,390 --> 00:01:09,700
Did you find that we, you know, when we go to the watchdog timer here to fight, right?

19
00:01:09,700 --> 00:01:14,620
So the first thing that we do is to declare a new structure will be one will be, for instance, which

20
00:01:14,620 --> 00:01:17,500
is WTT and then conflict structure.

21
00:01:17,530 --> 00:01:17,800
Right.

22
00:01:18,520 --> 00:01:19,610
So here if you are.

23
00:01:20,070 --> 00:01:24,760
We added the conflict structure as well as an instance structure for our watch DR.

24
00:01:24,970 --> 00:01:31,450
Similarly, we have added a config structure and an instance structure for our general interest rate.

25
00:01:32,380 --> 00:01:41,110
So if you look to check, the step one is to initialize all the time and so will first be initializing.

26
00:01:42,130 --> 00:01:48,270
And so far initializing, we created one function which is still.

27
00:01:49,150 --> 00:01:53,680
OK, we have a status variable which will be holding the value that is written by CFD.

28
00:01:53,680 --> 00:01:58,780
Initialize rate plus will generate a value for WTT config, OK, which is called VIX structure.

29
00:01:58,790 --> 00:02:00,820
So we'll just use lookup config function.

30
00:02:01,420 --> 00:02:09,610
Specify the watchdog timer device ID parameter dot so that we will be getting the values for WTT config.

31
00:02:09,880 --> 00:02:13,100
And this will then be utilized in a judicial case.

32
00:02:13,150 --> 00:02:13,480
OK.

33
00:02:13,900 --> 00:02:20,050
Where we specify the instance structure, which is WTT for us, the conflict structure and the basic

34
00:02:20,290 --> 00:02:22,940
rate, and this will return whether it is successful or not.

35
00:02:22,960 --> 00:02:29,580
So if status is equal to the status axis, we'll just be printing that wd d initialization is successful.

36
00:02:29,590 --> 00:02:33,050
LS else we could see that WD, right?

37
00:02:33,070 --> 00:02:38,230
So this are those steps that will be performing to initialize our WD similar step.

38
00:02:38,230 --> 00:02:40,740
We need to perform to initialize Argosy.

39
00:02:41,010 --> 00:02:48,010
OK, again, see this variable lookup config where we will be specifying gassy device aid from experiment

40
00:02:48,010 --> 00:02:50,590
code outage CFD initialize function.

41
00:02:50,920 --> 00:02:57,550
OK, again, the infrastructure config structure and the CPU, etc. So OK, and if he does, that is

42
00:02:57,550 --> 00:02:59,090
Sergey initialize ification.

43
00:02:59,140 --> 00:03:04,650
The access to success will be mentioning that you need to set this one else, right?

44
00:03:05,170 --> 00:03:11,500
So this two functions we are calling in a mean function that is the completion of our step, right?

45
00:03:11,500 --> 00:03:18,050
So we have a new platform that is used to initialize our UI, then to initialize our dimer.

46
00:03:18,220 --> 00:03:23,560
OK, and then we have the integrated used to initialize Argus.

47
00:03:23,690 --> 00:03:28,100
OK, so this complete the step eight, where we initialize all the paper.

48
00:03:28,930 --> 00:03:32,400
Next step is to add an internal exception handler, right?

49
00:03:32,410 --> 00:03:34,810
So here we need to include init.

50
00:03:35,500 --> 00:03:42,610
Then we need to specify the type of an intro and along with that, which what will be the handler for

51
00:03:42,610 --> 00:03:47,140
adding OK, and then we need to enable it to just go to school?

52
00:03:47,290 --> 00:03:47,590
OK.

53
00:03:48,510 --> 00:03:56,150
Here we have added a logic for handling the exception for this to happen, we need to include the exception.

54
00:03:57,150 --> 00:04:02,010
First is the exception in it, so this does not prove than anything and this does not accept anything,

55
00:04:02,010 --> 00:04:02,220
right?

56
00:04:03,280 --> 00:04:08,070
Then we have this trailer where we specify the type of an income, which is IQ.

57
00:04:08,410 --> 00:04:12,290
OK, and then the handler for us will interrupt Handler.

58
00:04:12,760 --> 00:04:13,160
OK.

59
00:04:13,180 --> 00:04:16,780
And then the entropy instance Sochi, which is Gee.

60
00:04:18,350 --> 00:04:22,250
And we just need to enable our exception to this, complete our step.

61
00:04:22,490 --> 00:04:28,430
Finally, we need to specify a range of candidates, so we have declared a function WTT handler that

62
00:04:28,460 --> 00:04:31,340
will serve as an interest handler for SO.

63
00:04:32,770 --> 00:04:34,480
If you go to WD.

64
00:04:35,020 --> 00:04:36,670
OK, so we.

65
00:04:38,190 --> 00:04:44,340
Do not have anything related to an interest rate, so you really see we do not have anything related

66
00:04:44,340 --> 00:04:46,080
to an interest rate.

67
00:04:46,090 --> 00:04:53,920
So in such kind of scenario, we just need to specify whether that the logic that we want to go right

68
00:04:53,920 --> 00:04:58,950
to whenever you are playing anything related to an enabling shop didn't have a role.

69
00:04:59,070 --> 00:05:05,580
Drop down, disable and you see this, you just need to specify the logic an inhaler and then CPI will

70
00:05:05,580 --> 00:05:10,290
automatically handle an entire entire process in their system, right?

71
00:05:10,590 --> 00:05:14,840
So here you could clearly see when you go through and wash it off time or hide it, right?

72
00:05:14,880 --> 00:05:18,990
So we do not have anything as enable or disable interrupt.

73
00:05:19,020 --> 00:05:19,350
OK.

74
00:05:19,830 --> 00:05:26,940
We do have certain function to restart and hold the counter OK, but there is nothing they enable or

75
00:05:26,940 --> 00:05:27,690
disable interest.

76
00:05:27,960 --> 00:05:34,110
So in that case, we could simply out and that entire operation will be controlled by a CPA.

77
00:05:34,110 --> 00:05:37,710
So we do not need to worry about that right now here.

78
00:05:37,950 --> 00:05:40,770
You just need to specify the interrupt handler.

79
00:05:40,860 --> 00:05:49,620
OK, so for us to interrupt that in instances like, OK, the IED, the unique interrupt click would

80
00:05:49,620 --> 00:05:53,090
be found out from its parameters and this could be a start.

81
00:05:53,490 --> 00:05:59,700
So if you just go the experiment, go on edge and inside that you have experimented on this corpus,

82
00:05:59,700 --> 00:05:59,940
right?

83
00:05:59,970 --> 00:06:04,260
And here you be finding the device for our WD right.

84
00:06:05,040 --> 00:06:11,430
So this will be utilizing OK when we utilize gas connect and then we need to specify an interrupt time.

85
00:06:11,610 --> 00:06:14,550
So for us to handle it and you do not want to do.

86
00:06:14,890 --> 00:06:21,720
And so we'll just be adding zero in the place of call your all back right after this will just be enabling

87
00:06:21,720 --> 00:06:28,970
the input to Archie and other then that we do not have any function for and controlling and interrupt

88
00:06:28,980 --> 00:06:29,730
of the ability.

89
00:06:29,970 --> 00:06:33,120
So Sibiu will automatically control it for us.

90
00:06:33,420 --> 00:06:35,160
We do not need to specify anything.

91
00:06:35,160 --> 00:06:39,480
That's the only thing that is pending is to specify the logic for intra-Party.

92
00:06:39,570 --> 00:06:40,290
So here we are.

93
00:06:40,290 --> 00:06:42,590
Double checking where the timer is usually expire.

94
00:06:42,930 --> 00:06:46,890
So if it is expired in that case, we are printing that.

95
00:06:46,890 --> 00:06:48,180
We have an intro, OK?

96
00:06:48,240 --> 00:06:53,760
And then since we do not have anything to come out of an interrupt, it will automatically handle an

97
00:06:53,760 --> 00:06:54,500
entire process.

98
00:06:54,510 --> 00:06:57,940
So this is the simple logic that we have in mind ability to handle this.

99
00:06:58,480 --> 00:07:01,200
Now we need to specify an operation, right?

100
00:07:01,200 --> 00:07:01,500
So.

101
00:07:02,800 --> 00:07:06,880
First, when we work around with a timer, it's to stop its operation.

102
00:07:07,220 --> 00:07:07,540
OK.

103
00:07:07,810 --> 00:07:11,170
And then we have to move for WTT, right?

104
00:07:11,190 --> 00:07:16,220
So if you just go up, you'll be finding we have a washed up more.

105
00:07:16,500 --> 00:07:22,600
OK, where it is basically a down counter, so it will start decrement again as soon as we just do a

106
00:07:22,600 --> 00:07:24,640
08 with automatically reset, right?

107
00:07:25,180 --> 00:07:27,080
And then next, when we have a timer mode.

108
00:07:27,130 --> 00:07:32,170
So in a timer mode, OK, whenever the counter reaches zero again, you do sound counter.

109
00:07:32,440 --> 00:07:34,990
So we're into target 30 is set a spending day.

110
00:07:34,990 --> 00:07:36,830
So this will Genndy and interrupt.

111
00:07:36,850 --> 00:07:38,500
So this is the mode that we are targeting.

112
00:07:38,500 --> 00:07:39,850
So to set the mode.

113
00:07:40,180 --> 00:07:43,330
We have a function, right, so that we already discussed.

114
00:07:43,930 --> 00:07:44,710
So we're here.

115
00:07:44,710 --> 00:07:49,460
If you just go ahead, you have the function to set washed up more.

116
00:07:49,480 --> 00:07:51,950
You also have a function to set a timer mode.

117
00:07:51,970 --> 00:07:54,560
So this is what we were working on.

118
00:07:54,820 --> 00:07:57,580
So we are we have added that function.

119
00:07:57,790 --> 00:08:00,650
So this will set our washed up time at any time.

120
00:08:00,650 --> 00:08:02,830
But right, so we just need to pass an instance.

121
00:08:03,610 --> 00:08:06,030
Then later, you may want to have a delay of one second.

122
00:08:06,040 --> 00:08:09,790
So we have no data washed off timer with the count of three three three meters.

123
00:08:09,840 --> 00:08:10,030
No.

124
00:08:10,030 --> 00:08:17,140
This also runs at half off the clock frequency that we use for operating around right here.

125
00:08:17,140 --> 00:08:18,390
We have enabled an order.

126
00:08:18,880 --> 00:08:19,330
So what?

127
00:08:19,330 --> 00:08:25,090
This will do it as soon as our outer reaches to zero, it will automatically be reloading our counter

128
00:08:25,090 --> 00:08:26,980
to the value that we specified, right?

129
00:08:27,430 --> 00:08:29,410
And then we specify an operation right now.

130
00:08:29,410 --> 00:08:32,740
Here we need to enable and interrupt OK and.

131
00:08:33,870 --> 00:08:39,900
So if you just go to the various options that we have, so we have a specific.

132
00:08:41,060 --> 00:08:47,030
So this is what you need to apply in an option when you want to enable learning.

133
00:08:47,390 --> 00:08:47,720
OK?

134
00:08:47,960 --> 00:08:52,970
Similarly, when you want to perform in order to reload, you need to apply an end time or more.

135
00:08:53,130 --> 00:08:53,600
This.

136
00:08:54,950 --> 00:08:55,740
Value, right?

137
00:08:55,760 --> 00:09:01,700
So that is what we got to do, we're here first, we are extracting whatever the value that our option

138
00:09:01,700 --> 00:09:02,000
have.

139
00:09:02,070 --> 00:09:04,730
OK, so to do that, we have a great control function.

140
00:09:05,420 --> 00:09:10,640
Will be operating in an option, which is you that you do and then we will be simply offering it with

141
00:09:10,670 --> 00:09:11,780
the mood that we want.

142
00:09:11,780 --> 00:09:13,820
So we have a control lighting level mask.

143
00:09:14,180 --> 00:09:17,420
And this will basically allow us to working in our tourism, right?

144
00:09:17,780 --> 00:09:20,300
And in this operation, we need to sit right.

145
00:09:20,300 --> 00:09:21,750
So we are reading over here.

146
00:09:21,770 --> 00:09:28,370
By utilizing a controlled wreck and then set control rig will allow or we'd set the time writing this

147
00:09:28,580 --> 00:09:30,630
right to this opt, we are applying.

148
00:09:31,010 --> 00:09:35,180
And finally, we're starting right now.

149
00:09:35,540 --> 00:09:40,180
Only logic that will be adding in our main function is just two weeks a white flight.

150
00:09:40,490 --> 00:09:43,640
So this will be continuously reading of this right now.

151
00:09:43,640 --> 00:09:44,450
What are we going to do?

152
00:09:44,450 --> 00:09:51,630
Is we will just be going ahead, saving our core right and try to force program freedom.

153
00:09:52,690 --> 00:09:59,530
So once programming is successful, we'll just be checking whether there are a sticky terminal is connected

154
00:09:59,770 --> 00:10:00,250
or not.

155
00:10:00,520 --> 00:10:06,250
So we'll just be collecting hours to get them to come forth and then we will be running our application

156
00:10:06,250 --> 00:10:06,940
on and hard.

157
00:10:07,270 --> 00:10:12,970
So let they just go ahead and try to see whether they can do and interrupt endangered, authentic right?

158
00:10:13,480 --> 00:10:17,290
So we see WTT and it is successful and it is successful.

159
00:10:17,290 --> 00:10:21,340
And then we are having an interest in that interval of one second, right?

160
00:10:22,890 --> 00:10:28,270
Now, Cincinnati Mahmood, we have an option to enable an auto reload.

161
00:10:28,290 --> 00:10:33,450
We actually do not require to add this function, as we did in my case of Baltimore great.

162
00:10:33,450 --> 00:10:41,420
So we could just be commenting this out because this is useful when we work in, then most stop all

163
00:10:42,070 --> 00:10:44,610
in a time of war, this itself will look fine.

164
00:10:44,850 --> 00:10:51,060
So with this modification, we'll just go ahead and try to again relaunch a simulation and let it just

165
00:10:51,060 --> 00:10:53,310
observe whether this is working as expected.

166
00:10:53,340 --> 00:10:57,630
Remember this Enable automobile release for Alberta Health and for time or more.

167
00:10:57,630 --> 00:11:03,930
We have this option right off analyze the console that's still able to see an inch in an interval of

168
00:11:03,930 --> 00:11:04,530
one second.

169
00:11:04,770 --> 00:11:10,740
So if I just clear console, you could clearly see me still able to automatically generate and interpret.

170
00:11:11,010 --> 00:11:16,440
So in the previous case, what we are doing is we are also purposefully restarting our time, right?

171
00:11:16,860 --> 00:11:21,930
So let's just go ahead and try to remove this auto reload mode from here.

172
00:11:22,210 --> 00:11:22,560
OK.

173
00:11:23,130 --> 00:11:30,680
So by default, now we do not have anything as an auto reload, so we could just go ahead to the watch

174
00:11:30,690 --> 00:11:35,760
dog handler and here we try to restart before we exit from an hang right?

175
00:11:36,210 --> 00:11:44,580
So if you just go ahead to the drivers of the bullet, we must be having the function which basically

176
00:11:44,580 --> 00:11:46,220
restart our time, right?

177
00:11:46,230 --> 00:11:46,560
So.

178
00:11:47,670 --> 00:11:50,910
So here we have restart WTT.

179
00:11:52,100 --> 00:12:00,230
OK, so let's try to utilize this function and add it to it here, so after we perform our execution

180
00:12:00,230 --> 00:12:07,910
of an algorithm, the logic that we want to perform in and interrupt handler just be specified that

181
00:12:07,910 --> 00:12:09,890
we want to restart our washed-up name.

182
00:12:10,010 --> 00:12:10,280
OK.

183
00:12:10,580 --> 00:12:15,980
So here we have not added an auto reload mode.

184
00:12:16,070 --> 00:12:23,120
OK, so let me just try to perform an execution of this code and try to see if this work as expected.

185
00:12:23,330 --> 00:12:26,000
So we'll just be clearing the previous.

186
00:12:26,360 --> 00:12:31,940
And you could still see that we are able to still work in a similar right.

187
00:12:31,950 --> 00:12:37,910
So these are the two ways which are eligible for both RSU timer also, as well as a washed off timer,

188
00:12:38,160 --> 00:12:38,390
right?
