367
CHAPTER 18 8-/10-BIT A/D CONVERTER
18.5.5
A/D-converted Data Protection Function
A/D conversion with the output of an interrupt request enabled activates the A/D
conversion data protection function.
■
A/D-converted Data Protection Function in 8-/10-bit A/D Converter
The 8-/10-bit A/D converter has only one A/D data register (ADCR) where A/D-converted data is stored.
When the A/D conversion results are determined after the termination of A/D conversion, data in the A/D
data register is rewritten. Therefore, the A/D conversion results may be lost if the A/D conversion results
already stored are not read before data in the A/D data register is rewritten. The A/D-converted data
protection function in the 8-/10-bit A/D converter is activated to prevent data loss. This function
automatically causes A/D conversion to pause when an interrupt request is generated (ADCS:INT = 1) with
an interrupt request enabled (ADCS:INTE = 1).
●
A/D-converted data protection function when EI
2
OS not used
•
When the A/D conversion results are stored in the A/D data register (ADCR) after the analog input is
A/D-converted, the interrupt request flag bit in the A/D control status register (ADCS: INT) is set to "1".
•
The A/D conversion stops for data protection immediately before new data is overwritten to the A/D
data register if the interrupt request is enabled (ADCS: INTE = 1) while the interrupt request flag bit set
at termination of previous A/D conversion is set at the point that next A/D conversion is terminated.
•
When the INT bit is set with an interrupt request from the A/D control status register enabled (ADCS:
INTE = 1), an interrupt request is generated. When the INT bit is cleared by the generated interrupt
processing, the pause of A/D conversion is cancelled.
●
A/D-converted data protection function when EI
2
OS used
•
The A/D conversion stops for data protection immediately before new data is overwritten to the A/D
data register while the EI
2
OS function is used to transfer the A/D conversion results from the A/D data
register to memory when next A/D conversion is terminated. When A/D conversion pauses, the pause
flag bit in the A/D control status register (ADCS: PAUS) is set to "1".
•
When the transfer of the A/D conversion results to memory by the EI
2
OS function is terminated, the
pause of A/D conversion is cancelled. If the A/D conversion is performed continuously, it is restarted. In
this case, the pause flag bit (ADCS:PAUS) is not cleared to "0" automatically. Clearing this bit writes 0
to it.
●
Processing flow of A/D conversion data protection function when EI
2
OS used
Figure 18.5-5 shows the processing flow of the A/D conversion data protection function when the EI
2
OS is
used.
Содержание F2MCTM-16LX
Страница 2: ......
Страница 3: ...FUJITSU LIMITED F2MCTM 16LX 16 BIT MICROCONTROLLER MB90360 Series HARDWARE MANUAL ...
Страница 4: ......
Страница 42: ...26 CHAPTER 1 OVERVIEW ...
Страница 66: ...50 CHAPTER 2 CPU MOV ILM imm8 The instruction is executed normally but the prefix affects the next instruction ...
Страница 70: ...54 CHAPTER 2 CPU ...
Страница 134: ...118 CHAPTER 6 CLOCK SUPERVISOR ...
Страница 176: ...160 CHAPTER 8 LOW POWER CONSUMPTION MODE ...
Страница 194: ...178 CHAPTER 10 I O PORTS ...
Страница 252: ...236 CHAPTER 13 16 Bit I O TIMER ...
Страница 282: ...266 CHAPTER 14 16 BIT RELOAD TIMER ...
Страница 295: ...279 CHAPTER 15 WATCH TIMER ORG 00FFDCH Reset vector set DSL START DB 00H Set to single chip mode VECT ENDS END START ...
Страница 296: ...280 CHAPTER 15 WATCH TIMER ...
Страница 386: ...370 CHAPTER 18 8 10 BIT A D CONVERTER ...
Страница 426: ...410 CHAPTER 20 LIN UART Figure 20 5 2 ORE Flag Set Timing RDRF ORE Reception data ...
Страница 540: ...524 CHAPTER 22 ADDRESS MATCH DETECTION FUNCTION ...
Страница 568: ...552 CHAPTER 24 512K BIT FLASH MEMORY ...
Страница 633: ...617 APPENDIX B Instructions Table B 9 3 Bit Operation Instruction Map first byte 6CH ...
Страница 634: ...618 APPENDIX Table B 9 4 Character String Operation Instruction Map first byte 6EH ...
Страница 635: ...619 APPENDIX B Instructions Table B 9 5 2 byte Instruction Map first byte 6FH MUL MULW DIVU A A A ...
Страница 637: ...621 APPENDIX B Instructions Table B 9 7 ea Instruction 2 first byte 71H ...
Страница 638: ...622 APPENDIX Table B 9 8 ea Instruction 3 first byte 72H ...
Страница 639: ...623 APPENDIX B Instructions Table B 9 9 ea Instruction 4 first byte 73H ...
Страница 640: ...624 APPENDIX Table B 9 10 ea Instruction 5 first byte 74H ...
Страница 641: ...625 APPENDIX B Instructions Table B 9 11 ea Instruction 6 first byte 75H ...
Страница 642: ...626 APPENDIX Table B 9 12 ea Instruction 7 first byte 76H ...
Страница 643: ...627 APPENDIX B Instructions Table B 9 13 ea Instruction 8 first byte 77H ...
Страница 644: ...628 APPENDIX Table B 9 14 ea Instruction 9 first byte 78H ...
Страница 645: ...629 APPENDIX B Instructions Table B 9 15 MOVEA RWi ea Instruction first byte 79H ...
Страница 646: ...630 APPENDIX Table B 9 16 MOV Ri ea Instruction first byte 7AH ...
Страница 647: ...631 APPENDIX B Instructions Table B 9 17 MOVW RWi ea Instruction first byte 7BH ...
Страница 648: ...632 APPENDIX Table B 9 18 MOV Ri ea Instruction first byte 7CH ...
Страница 649: ...633 APPENDIX B Instructions Table B 9 19 MOVW ea Rwi Instruction first byte 7DH ...
Страница 650: ...634 APPENDIX Table B 9 20 XCH Ri ea Instruction first byte 7EH ...
Страница 651: ...635 APPENDIX B Instructions Table B 9 21 XCHW RWi ea Instruction first byte 7FH ...
Страница 664: ...648 APPENDIX ...
Страница 665: ...649 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 682: ......