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中斷。


發佈了3 篇原創文章 · 獲贊 0 · 訪問量 1萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章