04.03.2013 Views

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Under development<br />

Preliminary document<br />

Specifications in this document are tentative and subject to change.<br />

<strong>RL78</strong>/<strong>D1A</strong> CHAPTER 15 STEPPER MOTOR CONTROLLER/DRIVER<br />

(10) Peripheral enable registers 1 (PER1)<br />

This registers is used to enable or disable supplying the clock to the peripheral hardware. Clock supply to the<br />

hardware<br />

that is not used is stopped in order to reduce the power consumption and noise.<br />

When the Stepper Motor Controller/Driver is used, be sure to set bit 5 (MTRCEN) of this register to 1.<br />

The PER1 register can be set by a 1-bit or 8-bit memory manipulation instruction.<br />

Reset signal generation clears these registers to 00H.<br />

Figure 15-8. Format of Peripheral Enable Registers 1 (PER1)<br />

Address: F00F1H After reset: 00H R/W (Note: Bits 0 to 3 and 6 are Read Only)<br />

Symbol 7 6 5 4 3 2 1 0<br />

PER1 ADCEN 0 MTRCEN SGEN 0 0 0 0<br />

MTRCEN Control of stepper motor controller/driver clock supply<br />

0 Stops input clock supply.<br />

SFR used by the stepper motor controller/driver cannot be written.<br />

The stepper motor controller/driver is in the reset status.<br />

1 Supplies input clock.<br />

SFR used by stepper motor controller/driver can be read and written.<br />

R01UH0317EJ0004 Rev. 0.04 958<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!