Yes.
Periph_wr ( adr, data) writes a byte data to a register which has address adr.
adr, data are the names of the variables ( parameters or arguments) used inside the function.
The names can be anything.
When calling the function, the adr and data are given the actual values needed.
Show how the periph_rd, periph_wr functions look now.
Periph_wr ( adr, data) writes a byte data to a register which has address adr.
adr, data are the names of the variables ( parameters or arguments) used inside the function.
The names can be anything.
When calling the function, the adr and data are given the actual values needed.
Show how the periph_rd, periph_wr functions look now.
