Table of Contents Previous topic Next topic
Code Creation Wizards->Accessing Wizards using the Source Code Context Menu->Register Only Selection
If you simply select a register in the context menu dialog box and click Insert, then the mnemonic for this register will be inserted into your source code. However it will not be inserted on a new line, it will be inserted at the cursor position without a new line being created. In this way you can add the register mnemonic to your own expression.
In addition, the next time the context menu is displayed it will contain an item for the last used code creation wizard allowing you to select another register for the same peripheral for insertion into your source code.
If the last selected register has any named bits associated with it then a further item will be added to the context menu allowing a named bit to be selected. This allows the mnemonic for a bit to be inserted into your own expression.