Table of Contents Previous topic Next topic
Code Creation Wizards->Accessing Wizards using the Source Code Context Menu->Operations and Registers
In the above example Start timer and Stop timer are operations rather than simply registers. Selecting these will generate code to set or clear the appropriate bit in the appropriate register to start and stop the timer.
The other items in the Registers and operations list above are registers. The Read register and Write register buttons can be used to generate code that reads or writes the selected register.
Read register will generate a suitably named and suitably typed variable to receive the register value.
The value written will be that entered into the Write value field. If you edit the value using the decimal field, then the source code will be generated in decimal. If you edit the value using the hexadecimal field, then the source code will be generated in hexadecimal.