20.07.2015 Views

M16C/62 Group DATASHEET

M16C/62 Group DATASHEET

M16C/62 Group DATASHEET

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.

Clock Generating CircuitMitsubishi microcomputers<strong>M16C</strong> / <strong>62</strong> <strong>Group</strong>SINGLE-CHIP 16-BIT CMOS MICROCOMPUTERClock OutputIn single-chip mode, the clock output function select bits (bits 0 and 1 at address 000616) enable f8, f32, orfc to be output from the P57/CLKOUT pin. When the WAIT peripheral function clock stop bit (bit 2 at address000616) is set to “1”, the output of f8 and f32 stops when a WAIT instruction is executed.Stop ModeWriting “1” to the all-clock stop control bit (bit 0 at address 000716) stops all oscillation and the microcomputerenters stop mode. In stop mode, the content of the internal RAM is retained provided that VCC remainsabove 2V.Because the oscillation , BCLK, f1 to f32, f1SIO2 to f32SIO2, fC, fC32, and fAD stops in stop mode, peripheralfunctions such as the A-D converter and watchdog timer do not function. However, timer A and timer Boperate provided that the event counter mode is set to an external pulse, and UARTi(i = 0 to 2), SI/O3,4functions provided an external clock is selected. Table 1.13.2 shows the status of the ports in stop mode.Stop mode is cancelled by a hardware reset or an interrupt. If an interrupt is to be used to cancel stop mode,that interrupt must first have been enabled. If returning by an interrupt, that interrupt routine is executed.When shifting from high-speed/medium-speed mode to stop mode and at a reset, the main clock divisionselect bit 0 (bit 6 at address 000616) is set to “1”. When shifting from low-speed/low power dissipation modeto stop mode, the value before stop mode is retained.Table 1.13.2. Port status during stop modePin Memory expansion mode Single-chip mode______________Address bus, data bus, CS0 to CS3,________BHE_____ ______ ________ _________RD, WR, WRL, WRH__________HLDA, BCLKALEMicroprocessor modeRetains status before stop mode“H”“H”“H”Port Retains status before stop mode Retains status before stop modeCLKOUT When fc selected Valid only in single-chip mode “H”When f8, f32 selected Valid only in single-chip mode Retains status before stop mode44

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

Saved successfully!

Ooh no, something went wrong!