| Electronic Components Datasheet Search |
|
6V7 Datasheet(PDF) 67 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
6V7 Datasheet(HTML) 67 Page - Renesas Technology Corp |
|
67 / 298 page ![]() Rev.1.00 May 18, 2004 page 67 of 296 M306V7MG/MH/MJ/MJA-XXXFP, M306V7FG/FH/FJ/FJAFP (5) Notes When clearing interrupt request bit of interrupt control register, depending on the instruction to be used, it interrupts and interrupt request bit may not be cleared. Use MOV command, when clear interrupt request bit, and change interrupt control register. When change interrupt control register in M16C/60 series and M16C/20 series, interrupt control register be sure to change in the part which corresponding interrupt request does not generate, and change interrupt control register after chang- ing interruption into a prohibition state. The example of a program which clears interrupt request bit in M16C/60 series. Example 1: The case where interrupt control register is rewritten with a immediate value FCLR I ; Interrupt is forbidden MOV.B #00H,0055H ; Timer A0 interrupt request bit clear MOV.W MEM,R0 ; Dummy read FSET I ; Interrupt is permitted Example 2: The case where only interrupt request bit is cleared FCLR I ; Interrupt is forbidden MOV.B 0055H,R0L ; Timer A0 interrupt control register read-out AND.B #0F7H,R0L ; Only timer A0 interruption request bit is clear MOV.B R0L,0055H ; Timer A0 interrupt control register writing MOV.W MEM,R0 ; Dummy read FSET I ; Interrupt is permitted There is a dummy read in Example 1 and Example 2 for preventing the set of interrupt permission flag (I flag) interrupting under the influence of command cue, and performing before the writing of interrupt control register. |
|
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 |