Table of Contents Previous topic Next topic
Code Creation Wizards->Accessing Wizards using the Source Code Context Menu->Register Bits
If a selected register has named bits associated with it, then these bits will be displayed in the Bits list. Selecting a bit will enable the Set bit, Clear bit, Wait for bit to clear and Wait for bit to set buttons. Experiment with these and observe the code generated.
If you want to generate code such as if bit is clear or if bit is set, then it is suggested that the Wait for bit to clear and Wait for bit to set buttons are used and that the resulting inserted code is edited as appropriate.