1
00:00:00,210 --> 00:00:03,420
There do exist another way to achieve this kind of behavior.

2
00:00:03,510 --> 00:00:10,260
So this we previously discussed also we could just reset the counter forcefully, and that could also

3
00:00:10,290 --> 00:00:12,900
give us the hour to reload like behavior, right?

4
00:00:12,900 --> 00:00:16,920
So to do that, how we could proceed is that it just falls.

5
00:00:18,300 --> 00:00:24,510
Coming this out, great, so we'll just be going ahead and then we will be commenting out an entire

6
00:00:24,780 --> 00:00:25,070
right.

7
00:00:26,100 --> 00:00:30,240
So this will be a call for help.

8
00:00:30,930 --> 00:00:34,020
All right, so here I'll just be mentioning or.

9
00:00:35,540 --> 00:00:35,900
OK.

10
00:00:36,590 --> 00:00:40,310
And then we will just be again working it out.

11
00:00:40,350 --> 00:00:43,170
Who had the not truly load mood option?

12
00:00:43,220 --> 00:00:43,430
Right.

13
00:00:43,440 --> 00:00:50,060
So the same kind of behavior that we achieved a lot, but without selecting an option, Rachel, that

14
00:00:50,060 --> 00:00:51,860
is what we are going to discuss over here.

15
00:00:51,890 --> 00:00:57,830
So this will be known or to reload more.

16
00:00:59,250 --> 00:01:03,480
OK, so let me just copy this statement, which could be used to set an option.

17
00:01:04,570 --> 00:01:07,720
OK, here we do not require to add an auto reload option.

18
00:01:08,170 --> 00:01:10,750
OK, so let me just remove this thing, right?

19
00:01:10,750 --> 00:01:12,130
So we'll just be reviewing it.

20
00:01:12,140 --> 00:01:13,910
Auto reload option, right?

21
00:01:13,930 --> 00:01:17,260
Was this and now we proceed to bring our application right?

22
00:01:17,560 --> 00:01:18,280
So while.

23
00:01:19,560 --> 00:01:20,520
Well, right.

24
00:01:21,940 --> 00:01:27,070
Then we will just be starting our timer that is mandatory.

25
00:01:28,370 --> 00:01:32,210
OK, then we will be waiting for a timer to expire.

26
00:01:33,460 --> 00:01:33,850
OK.

27
00:01:34,150 --> 00:01:36,280
And then we will be stopping our.

28
00:01:37,280 --> 00:01:41,900
Daimler forcefully will also be sending the string on to a consultancy.

29
00:01:42,110 --> 00:01:49,430
Now remember, since we have not been able to option or here, so this won't be automatically re initializing

30
00:01:49,430 --> 00:01:52,640
are going to register to the value that we are targeting, right?

31
00:01:52,880 --> 00:02:00,200
So we need to look for a function that are available to reset, to evaluate, to clearly see we have

32
00:02:00,200 --> 00:02:05,750
a function call as the next smart city are, etc. And if you exclude the functionality of it right,

33
00:02:05,750 --> 00:02:11,660
what this do is reset the specified table or counter off the device.

34
00:02:11,960 --> 00:02:19,250
So reset cost the timer counter to set its value to the reset value rates or whatever value that user

35
00:02:19,250 --> 00:02:20,600
specified to below date.

36
00:02:20,600 --> 00:02:27,290
When we when we apply a reset to a timer that will be automatically loaded as we call this function,

37
00:02:27,470 --> 00:02:28,640
then this is pretty handy.

38
00:02:28,640 --> 00:02:29,100
No, no.

39
00:02:29,120 --> 00:02:34,040
If you just call this after we finished sending the string on to a console.

40
00:02:34,220 --> 00:02:36,290
OK, this just required a single argument.

41
00:02:36,290 --> 00:02:37,280
We just never.

42
00:02:38,740 --> 00:02:45,220
And the tumor S.T.A.R., right, so what this will do is now we know that here, when we reach here,

43
00:02:45,220 --> 00:02:48,010
our counter will be reaching to a zero rate.

44
00:02:48,340 --> 00:02:54,250
And then when we reach here, OK, and when we call a reset, this will automatically reload our.

45
00:02:55,360 --> 00:02:58,090
Tyler, do the value that we specified in account?

46
00:02:58,820 --> 00:03:06,760
What's what this will allow us to engage and the delay of five second rate this week, we will be generating

47
00:03:07,180 --> 00:03:08,020
multiple event rate.

48
00:03:08,020 --> 00:03:10,750
So let it just verify whether this is working at the expected rate.

49
00:03:10,750 --> 00:03:14,170
So we'll just be proceeding first to build our application project.

50
00:03:15,090 --> 00:03:15,450
OK.

51
00:03:15,750 --> 00:03:21,540
And once Bill is successful, we will select our debate configuration and click on the launch pad.

52
00:03:23,030 --> 00:03:27,950
OK, so we'll just be clearing up our console and then click on resume button, right?

53
00:03:28,190 --> 00:03:34,340
So as you analyze the console now, so you get in a successful time of self, this just sets this one

54
00:03:34,580 --> 00:03:35,600
and then you get delay.

55
00:03:35,780 --> 00:03:36,910
Five Signature, Right?

56
00:03:36,920 --> 00:03:44,850
So here, since we are resetting our counter back to the reset value, you could actually see that we

57
00:03:44,860 --> 00:03:50,560
able to get the same kind of behavior what we are achieving with an auto reload, right?

58
00:03:50,580 --> 00:03:52,430
So now you have two alternatives.

59
00:03:53,270 --> 00:03:59,600
You could proceed with an auto reload option directly, or you would use the reset API that are available

60
00:03:59,600 --> 00:04:01,230
in a timer driver.

61
00:04:01,250 --> 00:04:05,890
OK, do you need an auto reload like behavior without enabling an auto look great to boot?

62
00:04:05,900 --> 00:04:07,610
The codes are over here, OK?

63
00:04:07,640 --> 00:04:09,590
You could explore both of them.

64
00:04:09,780 --> 00:04:10,100
OK.

65
00:04:10,130 --> 00:04:15,500
To understand more about an hour to reload now, the next thing that will be targeting is how we use

66
00:04:15,500 --> 00:04:16,390
a multiple timer.
