µVision User's Guide

legacy

exec

Summary
void  exec ("command_string") /* Execute Debug Command */
Description

The exec function lets you invoke µVision3 debug commands from within your user and signal functions. The command_string may contain several commands separated by semicolons.

Return Value

None

Example

The command_string is passed to the command interpreter and must be a valid debug command.

>exec ("DIR PUBLIC; EVAL R7")