In our project, we use NHET instruction program to control three motors: motorA, motorB, motorC.
Now, in some conditions, for example, if i want to directly control motorA pins ouput value by application code (C code) not by NHET program, and motorB and motorC still control by NHET instruction program. And some times, all motor control by NHET program.
Because now we have used almost 115 instructions in NHET program, so, i don't want to implement this requirement in NHET instruction program. I want to keep motorA nhet instructions work in normal and not to update the instruction data/control fields.
Is it supported in NHET registers like this: if bit in reg.A is configure to disable, then nhet pin output is controlled by NHET program, otherwise, nhet pin output is controlled by output registers.
In NHET registers , i see this NHET pin disable register (HETPINDIS, 0xFFF7 B894), but i not try it. Is this register can implement this requirement? and is there anything i need to pay attention while implementing this requireement ? Thanks a lot.