cc254x 电源管理中 PCON.IDLE设置注意事项翻译

cc254x 电源管理中 PCON.IDLE设置注意事项英语原版非常晦涩,我试着翻译了一下,自己留个记录,希望翻译不到位的地方高手能指导一下,先谢过!

先贴上原版英文:

The instruction that sets the PCON.IDLE bit must be aligned in a certain way for correct operation. The
first byte of the assembly instruction immediately following this instruction must not be placed on a 4-byte
boundary. Furthermore, cache must not be disabled (see CM in the FCTL register description in
Chapter 6). Failure to comply with this requirement may cause higher current consumption. Provided this
requirement is fulfilled, the first assembly instruction after the instruction that sets the PCON.IDLE bit is
performed before the ISR of the interrupt that caused the system to wake up, but after the system woke
up. If this instruction is a global interrupt disable, it is possible to have it followed by code for execution
after wakeup, but before the ISR is serviced.


翻译如下:
为了实现正确操作,设置PCON.IDLE位的汇编指令必须采取一种特定的对齐方式,使得紧随其后汇编指令的第一个字节地址不能处于4字节边界位置。而且一定要使能高速缓存(参见第六章FCTL寄存器描述中CM部分)。如果满足这个要求,在这条指令(设置PCON.IDLE指令)之后的第一条汇编指令将在会唤醒系统的ISR中断指令之前执行,而不是在系统唤醒后执行。这样,如果这条指令(设置PCON.IDLE指令之后的指令)是一条全局中断指令,那么在唤醒CPU后将先执行紧随其后的代码,而不是先处理ISR中断。


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值