beautypg.com

Rainbow Electronics AT75C220 User Manual

Page 111

background image

AT75C220

111

ETRGEDG: External Trigger Edge Selection

ABETRG: TIOA or TIOB External Trigger Selection

0 = TIOB is used as an external trigger.

1 = TIOA is used as an external trigger.

CPCTRG: RC Compare Trigger Enable

0 = RC Compare has no effect on the counter and its clock.

1 = RC Compare resets the counter and starts the counter clock.

WAVE

0 = Capture mode is enabled.

1 = Capture mode is disabled (waveform mode is enabled).

LDRA: RA Loading Selection

LDRB: RB Loading Selection

ETRGEDG

Edge

0

0

None

0

1

Rising edge

1

0

Falling edge

1

1

Each edge

LDRA

Edge

0

0

None

0

1

Rising edge of TIOA

1

0

Falling edge of TIOA

1

1

Each edge of TIOA

LDRB

Edge

0

0

None

0

1

Rising edge of TIOA

1

0

Falling edge of TIOA

1

1

Each edge of TIOA