beautypg.com

2 psync – psc synchro configuration – Rainbow Electronics ATmega64M1 User Manual

Page 148

background image

148

8209A–AVR–08/09

ATmega16M1/32M1/64M1

When this bit is set, I/O pin affected to PSCOUT2B is connected to the PSC module 2 waveform
generator B output and is set and clear according to the PSC operation.

• Bit 4 – POEN2A: PSC Output 2A Enable

When this bit is clear, I/O pin affected to PSCOUT2A acts as a standard port.

When this bit is set, I/O pin affected to PSCOUT2A is connected to the PSC module 2 waveform
generator A output and is set and clear according to the PSC operation.

• Bit 3 – POEN1B: PSC Output 1B Enable

When this bit is clear, I/O pin affected to PSCOUT1B acts as a standard port.

When this bit is set, I/O pin affected to PSCOUT1B is connected to the PSC module 1 waveform
generator B output and is set and clear according to the PSC operation.

• Bit 2 – POEN1A: PSC Output 1A Enable

When this bit is clear, I/O pin affected to PSCOUT1A acts as a standard port.

When this bit is set, I/O pin affected to PSCOUT1A is connected to the PSC module 1 waveform
generator A output and is set and clear according to the PSC operation.

• Bit 1 – POEN0B: PSC Output 0B Enable

When this bit is clear, I/O pin affected to PSCOUT0B acts as a standard port.

When this bit is set, I/O pin affected to PSCOUT0B is connected to the PSC module 0 waveform
generator B output and is set and clear according to the PSC operation.

• Bit 0 – POEN0A: PSC Output 0A Enable

When this bit is clear, I/O pin affected to PSCOUT0A acts as a standard port.

When this bit is set, I/O pin affected to PSCOUT0A is connected to the PSC module 0 waveform
generator A output and is set and clear according to the PSC operation.

18.16.2

PSYNC – PSC Synchro Configuration

• Bit 7:6 – Res: Reserved

These bits are reserved and will always read as zero.

• Bit 5:4 – PSYNC2[1: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 – PSYNC1[1: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

7

6

5

4

3

2

1

0

-

-

PSYNC21

PSYNC20

PSYNC11

PSYNC10

PSYNC01

PSYNC00

PSYNC

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