So we'll just be prosecuting like this, so we will declare will be declaring one variable religious
name this status.
OK, this is the variable that we declare and then we will be attaching this to the judicial function
to whatever value that I see of judicial function will be stewarding into a status and then we'll just
be checking whether it is is equal to existing success rate.
You would also compare this with the Z or see if that is the case.
We'll just be utilizing the reporting mechanism to convey the message that device initialization is
successful, right?
LS ls.
What are we going to do is we'll just be adding the plaintiff again.
OK.
And then the mentioning that device unit fee, right?
So this helps to debug an entire thing if our devices successfully initialize on.
So these are the series of processes that we're going to follow to initialize our base rate.
So we start with declaration of structure, instant structure and config structure.
So conflict structure will be declaring as a pointer will be utilizing a separate function.
We will be mentioning all the initialization related work, right?
So we declared a status, which is of intent.
No, this could also.
This returns you 32, so you could declare you 32 are.
Doesn't make it right.
So golfing structure the value of one fixed structure will be receiving by utilizing look up config
function where we need to pass device.
So after you complete declaration of a structure, we just need to look for a lookup config keyword
inner driver.
OK.
And as soon as you find out that is the great.
So this is the first step and this returns the pointer rank.
For that reason, we declare here iwconfig structure as a pointer because then we do not need to do
any conversion rate or the next step is when we consider it a studio.
So when we consider the next step is to use c f g initialize, which requires the argument.
First one is an instance structure the config structure and to be set Free State.
So here insert structure as well as on fixed structure.
Our point of no, since we can't declare conflict center itself as a pointer, we just need to pass
through times, is it?
Whereas if you consider the structure, we just need to use.
That was interpreted.
And then you will be mentioning incident structure.
Right.
The said this could be followed by utilizing to the looking for the sector in experimental or or we
could just go to a conflict structure, use this operator OK and then specify the B side.
Right now, this returns you 32.
So we could just declare once you did very well in our nick function and then we will be connecting
it to sea of genes.
So whatever value.
And so if initialization is successful at an altitude and so right, so we'll just be checking that
this status is equal to access to success.
So this is by default declared at zero.
OK, in our tribe of sixes to succes is equal to zero.
So if status is equal to zero or x success, then you will just be mentioning device initialization
is successful.
Else we will be mentioning that device initialization feature.
Right now, what we're going to do is we'll just be going through an x GPIO driver so that you understand
an entire process in.