110
CHAPTER 3 CLOCK GENERATOR AND CONTROLLER
CHC_1:
call
VCO_RUN
PLL_SET_END:
ld
@R15+, PS
; pop processor status
; ************************************************************
; VCO Setting
; ************************************************************
VCO_RUN:
st
R3, @-R15
; push R3
ldi:8
#PCTR _MASK, R3
; PCTR_MASK =0000 1000 b
and
R5, R3
; PTCR->VSTP=1 ?
beq
LOOP_100US_END
; if VSTP = 0 return
bandl
#0111B, @r1
; set VSTP = 0
st
R2, @-R15
; push R2 for Loop counter
ldi:20
#0x15E, R2
; wait 100
µ
S
WAIT_100US:
; 100us = 160ns(6.25MHz) * 7 * 100 (2BC)cycle
add2
#(-1), R2
; 2BCh/2 = 15Eh (if cache on)
bne
WAIT_100US ;
LOOP_100US_END:
ld
@R15+, R2
; Pop R2
ld
@R15+, R3
; Pop R3
ret
Summary of Contents for MB91F109
Page 2: ......
Page 3: ...FUJITSU LIMITED FR30 32 Bit Microcontroller MB91F109 Hardware Manual ...
Page 4: ......
Page 10: ...vi ...
Page 24: ...xx ...
Page 96: ...72 CHAPTER 2 CPU ...
Page 224: ...200 CHAPTER 4 BUS INTERFACE ...
Page 234: ...210 CHAPTER 5 I O PORTS ...
Page 268: ...244 CHAPTER 9 U TIMER ...
Page 290: ...266 CHAPTER 10 UART ...
Page 314: ...290 CHAPTER 12 16 BIT RELOAD TIMER ...
Page 322: ...298 CHAPTER 13 BIT SEARCH MODULE ...
Page 392: ...368 CHAPTER 16 FLASH MEMORY ...
Page 432: ...408 APPENDIX E Instructions F Table E 2 Instruction Formats OP rel11 5 11 ...
Page 448: ...424 APPENDIX E Instructions ...
Page 449: ...425 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 458: ...434 INDEX ...
Page 460: ......
Page 461: ...FUJITSU SEMICONDUCTOR FR30 32 Bit Microcontroller MB91F109 Hardware Manual ...