3 . Instruction Set

¾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

I010

 

I050

 

I070

 

I010

 

I020

 

I030

interrupt

 

 

 

 

 

 

 

 

 

 

 

 

 

 

High-speed comparator

 

C232~C242 share 6 software comparators

 

Set

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Counter

C238

 

C239

 

 

C240

 

C241

 

C242

DHSCS High-speed

I040

 

I050

 

 

I060

 

 

I070

 

I080

interrupt

 

 

 

 

 

 

 

 

 

 

 

 

 

 

High-speed comparator

 

C232~C242 share 6 software comparators

 

Set

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

¾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

 

Software

 

 

 

comparator x 6

 

 

 

 

 

 

 

Set / reset

1

Counter 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Software

 

 

Count value

 

 

 

Set / reset

2

 

 

 

 

 

 

 

 

 

 

 

 

counter 2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Software counter 8

Set / reset 6

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.

3 - 125

Page 241
Image 241
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Instruction Set