在28335DSP的EPWM模块中,有一个时基子模块,它具有一个时基周期寄存器TBPRD。
在关于TBPRD阴影寄存器的问题上不太明白:
1、为什么需要一个阴影寄存器?
2、“Shadowing allows the register update to be synchronized with the hardware” 阴影寄存器与硬件同步? 在什么过程中它们需要同步?
3、“This prevents corruption or spurious operation due to the register being asynchronously modified by software.” 异步修改寄存器或者软件修改可能导致错误,那么DSP的所有寄存器不都是需要用软件修改的么? 那不是都是容易导致错误的? 为什么只有TBPRD用阴影寄存器呢?
求解……