| Electronic Components Datasheet Search |
|
UPD17072 Datasheet(PDF) 84 Page - NEC |
|
|
|||||||||||||||||||||||||||||
UPD17072 Datasheet(HTML) 84 Page - NEC |
|
84 / 226 page ![]() µPD17072,17073 84 Figure 12-2. Configuration of Basic Timer 0 Carry Register 12.2.3 Application example of basic timer 0 An example of a program in which the basic timer 0 is used is shown below. In this example, processing A is executed every 1 second. Example M1 MEM 1.10H ; 1-second counter, set to bank 1 LOOP: BANK1 SKT1 BTM0CY ; Branches to NEXT if BTM0CY flag is “0” BR NEXT ADD M1, #0010B ; Adds 2 to M1 SKT1 CY ; Executes processing A if CY flag is “1” BR NEXT ; Branches to NEXT if CY flag is “0” Processing A NEXT: Processing B BR LOOP ; Executes processing B and branches to LOOP Name Flag symbol b3 b2 b1 b0 Address Read/ Write Basic timer 0 carry register 00 0 B T M 0 C Y (BANK1) 51H R&Reset Detects status of flip-flop. Flip-flop is not set. 0 Flip-flop is set. 1 Fixed to "0". Power-ON Clock stop CE At reset 000 0 1 1 |
|
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 |