beautypg.com

Delta DVP-ES2 User Manual

Page 241

background image

3 . I n s t r u c t i o n S e t

3 - 1 2 5

¾

Table of settings for the high-speed interrupts of the software counters and software

comparators:

Counter

C232

C233 C234 C235 C236 C237

DHSCS High-speed

interrupt

I010 I050 I070 I010 I020 I030

High-speed comparator

Set

C232~C242 share 6 software comparators

Counter

C238 C239 C240 C241 C242

DHSCS High-speed

interrupt

I040 I050 I060 I070 I080

High-speed comparator

Set

C232~C242 share 6 software comparators

¾

DVP-SS2/SA2/SE does not support the software high speed counter C232.

¾

C253 and C254 is DVP/SE are software high speed counters. The high-speed interrupt

is I030.

¾

Block diagram of software counters and comparators:

Software
Counter 1

Software
counter 2

Software
counter 8

Count value

Software
comparator x 6

1

2

6

Set / reset

Set / reset

Set / reset

6.

Explanations on hardware comparators

DHSCS/DHSCR instruction:

¾

There are 2 groups of hardware comparators provided respectively for 2 groups of

hardware counters (A group and B group), and each group shares 4 comparators with

individual Compare Set/Reset function.

¾

When programming DHSCS and DHSCR instructions, the total of Set/Reset

comparisons for both instructions can not be more than 4, otherwise syntax check error

will occur.

¾

Each high-speed counter interrupt occupies an associated hardware comparator,

consequently the interrupt number can not be repeated. Also, I010~I040 can only be

applied for group A comparators and I050~I080 for group B.

This manual is related to the following products: