03.08.2013 Views

MC9S12VR-Family - Data Sheet - Freescale Semiconductor

MC9S12VR-Family - Data Sheet - Freescale Semiconductor

MC9S12VR-Family - Data Sheet - Freescale Semiconductor

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

14.3.2 Register Definition<br />

14.3.3 Port LS <strong>Data</strong> Register (LSDR)<br />

<strong>MC9S12VR</strong> <strong>Family</strong> Reference Manual, Rev. 2.8<br />

Low-Side Drivers - LSDRV (S12LSDRV1)<br />

Module Base + 0x0000 Access: User read/write 1<br />

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

R 0 0 0 0 0 0<br />

W<br />

Altern.<br />

Read<br />

Function<br />

0 0 0 0 0 0<br />

1<br />

Read: Anytime. The data source (LSDRx or alternate function) depends on the LSE control bit settings.<br />

Write: Anytime<br />

2 See PIM chapter for detailed routing description.<br />

LSDR1 LSDR0<br />

<strong>Freescale</strong> <strong>Semiconductor</strong> 413<br />

OC 2<br />

PWM 2<br />

Reset 0 0 0 0 0 0 0 0<br />

= Unimplemented<br />

Figure 14-2. Port LS <strong>Data</strong> Register (LSDR)<br />

Table 14-4. LSDR Register Field Descriptions<br />

Field Description<br />

1-0<br />

LSDR<br />

OC 2<br />

PWM 2<br />

Port LS <strong>Data</strong> Bits—<strong>Data</strong> registers or routed timer outputs or routed PWM outputs<br />

These register bits can be used to control the low-side drivers gates if selected as control source. See PIM section<br />

for routing details.<br />

If the associated LSE bit is set to 0, a read returns the value of the Port LS <strong>Data</strong> Register (LSDRx).<br />

If the associated LSE bit is set to 1, a read returns the value of the selected control source in PIM module.<br />

When entering in STOP mode the Port LS <strong>Data</strong> Register (LSDR) is cleared.<br />

0 Low-side driver gate is turned off<br />

1 Low-side driver gate is turned on<br />

NOTE<br />

After enabling the low-side driver with the LSEx bit in LSCR<br />

register, the user must wait a minimum settling time t LS_settling<br />

before turning on the low-side driver gate.<br />

NOTE<br />

The low-side driver gate should be turned off (e.g. LDSRx=0 or<br />

OC=0 or PWM=0) and the load should be de-energized before<br />

going into Stop Mode or disabling the low-side driver with the<br />

LSEx bits.

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

Saved successfully!

Ooh no, something went wrong!