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 />

(1) Timer mode control register (MCNTC0)<br />

The 8-bit MCNTC0 register controls the operation of the free running up counters CNT0.<br />

These registers can be read/written in 8-bit or 1-bit units.<br />

This register is cleared by any reset.<br />

Figure 15-2. Format of Timer Mode Control Register (MCNTC0) (1/2)<br />

Address: F0160H After reset: 00H R/W<br />

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

MCNTC0 CAE 0 FULL PCE PCS SMCL2 SMCL1 SMCL0<br />

CAE Stepper Motor Controller/Driver control<br />

0 Stepper Motor Controller/Driver operation is disabled.<br />

1 Stepper Motor Controller/Driver operation is enabled.<br />

FULL Count range of the timer counter<br />

0 Count range from 01H to FFH<br />

1 Count range from 00H to FFH<br />

The initial start value is 00H in both cases. For the impact of this bit on duty factor and PWM cycle time, see also<br />

15.3.1 (3) Duty factor.<br />

PCE Timer operation control<br />

0 Timer counter is stopped.<br />

1 Timer counter is enabled.<br />

PCS Timer count clock<br />

0 Count clock specified by SMCL2 to SMCL0<br />

1 INTTM10<br />

R01UH0317EJ0004 Rev. 0.04 949<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!