Other Parts Discussed in Thread: SYSCONFIG, C2000WARE
Tool/software:
Hi,
I'm using the C2000Ware_MotorControl_SDK_5_02_00_00 universal motor control lab project without Sysconfig and I would like to reset the CCCR registers INIT in the McanaRegs.
The way I knew in earlier versions to manipulate a register is by using the direct access like:
McanaRegs.MCAN_CCCR.bits.INIT = 0;
But this leads to an error of
#20 identifier "McanaRegs" is undefined
Now my question is, how should one manipulate the registers in the newest versions of C2000Ware (also including sysconfig etc.)? With a sysconfig project, I cannot even find the registers with the method above. Should one directly use HWREG(...)?
Thanks



