beautypg.com

Rainbow Electronics ATmega64C1 User Manual

Page 151

background image

151

7647A–AVR–02/08

ATmega32/64/M1/C1

• Bit 5:4 – PSYNC21:0: Synchronization Out for ADC Selection

Select the polarity and signal source for generating a signal which will be sent from module 2 to
the ADC for synchronization

• Bit 3:2 – PSYNC11:0: Synchronization Out for ADC Selection

Select the polarity and signal source for generating a signal which will be sent from module 1 to
the ADC for synchronization

• Bit 1:0 – PSYNC01:0: Synchronization Out for ADC Selection

Select the polarity and signal source for generating a signal which will be sent from module 0 to
the ADC for synchronization

.

14.16.3

PSC Output Compare SA Register – POCRnSAH and POCRnSAL

14.16.4

PSC Output Compare RA Register – POCRnRAH and POCRnRAL

Table 14-8.

Synchronization Source Description in One Ramp Mode

PSYNCn1

PSYNCn0

Description

0

0

Send signal on leading edge of PSCOUTnA(match with OCRnSA)

0

1

Send signal on trailing edge of PSCOUTnA(match with OCRnRA or
fault/retrigger on part A)

1

0

Send signal on leading edge of PSCOUTnB (match with OCRnSB)

1

1

Send signal on trailing edge of PSCOUTnB (match with OCRnRB or
fault/retrigger on part B)

Table 14-9.

Synchronization Source Description in Centered Mode

PSYNCn1

PSYNCn0

Description

0

0

Send signal on match with OCRnRA (during counting down of PSC). The
min value of OCRnRA must be 1.

0

1

Send signal on match with OCRnRA (during counting up of PSC). The
min value of OCRnRA must be 1.

1

0

no synchronization signal

1

1

no synchronization signal

Bit

7

6

5

4

3

2

1

0

POCRnSA[11:8]

POCRnSAH

POCRnSA[7:0]

POCRnSAL

Read/Write

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

Initial Value

0

0

0

0

0

0

0

0

Bit

7

6

5

4

3

2

1

0

POCRnRA[11:8]

POCRnRAH

POCRnRA[7:0]

POCRnRAL

Read/Write

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

Initial Value

0

0

0

0

0

0

0

0