 | µVision User's Guide legacy |  |
|
|
| memset| Summary |
void memset (
unsigned long start_address, /* memory start address */
unsigned long length, /* memory length */
unsigned char value /* value to write */
)
| | Description | The debug function memset fills the memory specified through start address and length with the character value. Note - The order of the parameters length and value of the debug function memset are inverted compared to the standard C function memset.
| | Return Value | None | | Example |
>MEMSET (0x20000, 0x1000, 'a') /* Fill 0x20000 to 0x20FFF with 'a' */
|
|
|