| Electronic Components Datasheet Search |
|
UPD17072 Datasheet(PDF) 82 Page - NEC |
|
|
|||||||||||||||||||||||||||||
UPD17072 Datasheet(HTML) 82 Page - NEC |
|
82 / 226 page ![]() µPD17072,17073 82 12. TIMER The timers are used to control the program execution time. 12.1 General As shown in this figure, the µPD17013 is provided with the following two timers: • Basic timer 0 • Basic timer 1 The basic timer 0 is used to detect the status of a flip-flop that is set at fixed time intervals. The basic timer 1 is used to issue an interrupt request at fixed time intervals. The basic timer 0 can also be used to detect a power failure. The clock of each timer is generated by dividing the system clock (75 kHz). 12.2 Basic Timer 0 12.2.1 General Figure 12-1 outlines the basic timer 0. The basic timer 0 is used as a timer by detecting the status of a flip-flop which is set at fixed time intervals, by using the BTM0CY flag (BANK1 of RAM: address 51H, bit 0). The content of the flip-flop corresponds to the BTM0CY flag on a one-to-one basis. The set time for BTM0CY flag (BTM0CY flag set pulse) is 125 ms (8 Hz). If the BTM0CY flag is read for the first time after power-ON reset, its content is always “0”. After that, the flag is set to “1” at fixed time intervals. If the CE pin goes high, CE reset is effected when the BTM0CY flag is set next time. By reading the content of the BTM0CY flag at system reset (power-ON reset and CE reset), therefore, a power failure can be detected. For details on power failure detection, refer to 20. RESET. Figure 12-1. Outline of Basic Timer 0 Divider 125 ms (8 Hz) 75 kHz Basic timer 0 carry FF Set/clear BTM0CY flag Remark BTM0CY (bit 0 of basic timer 0 carry register: refer to Figure 12-2) detects the status of the flip-flop. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |