14.7. Power-save Modeเมื่อ the SM[2:0] bits ถูกเขียนด้วย 011, the SLEEP instruction ทำให้ the MCU เข้าสู่ Power-save mode. โหมดนี้ก็เหมือนกันกับ Power-down, โดยมีข้อยกเว้นอยู่ข้อหนึ่ง :
ถ้า Timer/Counter2 ถูกเปิดใช้งาน, มันจะทำงานต่อไปในระหว่างที่ sleep อยู่. The device สามารถ wake up จาก Timer Overflow หรือ Output Compare event จาก Timer/Counter2 ถ้า the corresponding Timer/Counter2 interrupt enable bits ถูกเซทใน TIMSK2, และ the Global Interrupt Enable bit ใน SREG ถูกเซท
ถ้า Timer/Counter2 ไม่ได้รันอยู่, แนะนำให้ใช้ Power-down mode แทนการใช้ Power-save mode.
The Timer/Counter2 สามารถถูกให้สัญญานนาฬิกาได้ทั้งแบบ synchronously และ asynchronously ใน Power-save mode. ถ้า Timer/Counter2 ไม่ได้ใช้ the asynchronous clock, the Timer/Counter Oscillator จะถูกหยุดในระหว่าง sleep. ถ้า Timer/Counter2 ไม่ได้ใช้ the synchronous clock, the clock source ถูกหยุดในระหว่าง sleep. ถึงแม้ว่า the synchronous clock กำลังรันใน Power-save, clock นี้สามารถใช้สำหรับ Timer/Counter2 เท่านั้น.
งงแล้วสิงานนี้ synchronously และ asynchronously
synchronously หมายถึง ใช้สัญญานนาฬิกาภายนอกใช่หรือเปล่า?
asynchronously หมายถึง ใช้สัญญานนาฬิกาภายในใช่หรือเปล่า?
ท่านใดพอทราบมาช่วยเคลียร์หน่อย Timer/Counter ก็ยังแปลไปไม่ถึงเลย จะยกตัวอย่างได้ใหมนี่
