| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
UPD17062 bảng dữ liệu(PDF) 169 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
UPD17062 bảng dữ liệu(HTML) 169 Page - Renesas Technology Corp |
|
169 / 298 page ![]() 167 µPD17062 13.6 OPERATION OF THE DEVICE AT A HALT OR CLOCK STOP 13.6.1 State of Each Pin at a Halt and Clock Stop Table 13-1 summarizes how the CPU and peripheral hardware behave during the halt or clock stop state. During the halt state, execution of the CPU instructions is suspended, but the peripheral hardware operates normally, as described in Table 13-1. During the clock stop state, on the other hand, all peripheral hardware is at a stop. During the halt state, the control register that controls the operating state of the peripheral hardware works as usual (not initialized). During the clock stop state (when the STOP s instruction is executed), on the other hand, the control register is initialized to a specified value. To put in another way, the peripheral hardware keeps operating as specified in the control register during the halt state. During the clock stop state, however, the peripheral hardware operates according to the initial value set in the control register. See Chapter 9 for the initial value for the control register. Let’s study the following example. Example When the P0A0/SDA and P0A1/SCL pins of port 0A are specified as output ports, and the P0A2/ SCK and P0A3/SO pins are used as a serial interface HLTINT DAT 1000B ; Defines a symbol. XTAL DAT 0000B ; INITFLG P0ABIO3, P0ABIO2, P0ABIO1, P0ABIO0 ; Built-in macro ; # SET2 P0A0, P0A1 ; INITFLG SIO0CH, NOT SB, SIO0MS, SIO0TX ; SET2 SIO0CK1, SIO0CK0 ; $ SET2 SIO0IMD1, SIO0IMD0 CLR1 IRQSIO0 SET1 IPSIO0 EI ; % SET1 SIO0NWT ; & HALT HLTINT ; ( STOP XTAL The above program outputs a high level from the P0A0 and P0A1 pins at #, specifies a serial interface condition at $, and starts serial communication at %. When the HALT instruction is executed at &, the serial communication continues, and the halt state is released after a serial interface interrupt request is accepted. |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |