21.07.2015 Views

M16C User Manual.pdf

M16C User Manual.pdf

M16C User Manual.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Controlling Power ApplicationsMitsubishi microcomputers<strong>M16C</strong> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTERContinued from the previous pageCanceling protectb7b01Protect register [Address 000A16]PRCREnables writing to system clock control registers 0 and 1 (address 000616 and 000716)1 : write-enabledSwitching system clockb7b01 System clock control register 0 [Address 000616]CM0System clock select bit1 : XCIN-XCOUTStopping main clockb71b0System clock control register 0 [Address 000616]CM0Main clock (XIN-XOUT) stop bit1 : Off[F_WIT] = 1Interrupt enable flag (I flag) “1”WAIT instructionNOP instruction X 5=[F_WIT] : 1INT0 interrupt request generatedTB2 interrupt request generatedStarting main clock oscillatorb70b0System clock control register 0 [Address 000616]CM0Main clock (XIN-XOUT) stop bit0 : OnWait until the main clock has stabilizedSwitching system clockb70b0System clock control register 0 [Address 000616]CM0System clock select bit0 : XIN-XOUTFigure 3.8.3. Set-up procedure of controlling power using wait mode (2)482

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!