CmdMemZero
From MCS Wiki AVR
(Difference between revisions)
Admin (Talk | contribs)
(Created page with "= <span class="f_Header">Action</span> = Write zero to a block of memory. <span style="font-family: Arial;"> </span> <span style="font-family: Arial;"> </span> =...")
(Created page with "= <span class="f_Header">Action</span> = Write zero to a block of memory. <span style="font-family: Arial;"> </span> <span style="font-family: Arial;"> </span> =...")
Latest revision as of 19:24, 12 December 2014
Contents |
Action
Write zero to a block of memory.
Syntax
CmdMemZero ptr, num
Remarks
ptr |
Starting address of the memory block |
num |
Number of bytes in the memory block |
The completion of this function is detected when the value of REG_CMD_READ is equal to REG_CMD_WRITE.
Example
' Pseudocode ' To erase the first 1K of main memory CmdMemZero 0, 1024
Languages | English |
---|