17.03.2014 Views

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3. Instruction Set<br />

‣ Table of settings for the high-speed interrupts of the software counters and software<br />

comparators:<br />

Counter C232 C233 C234 C235 C236 C237<br />

DHSCS High-speed I010 I050 I070 I010 I020 I030<br />

interrupt<br />

High-speed comparator C232~C242 share 6 software comparators<br />

Set<br />

Counter C238 C239 C240 C241 C242<br />

DHSCS High-speed<br />

interrupt<br />

High-speed comparator<br />

Set<br />

I040 I050 I060 I070 I080<br />

C232~C242 share 6 software comparators<br />

‣ <strong>DVP</strong>-<strong>SS2</strong>/<strong>SA2</strong>/SE does not support the software high speed counter C232.<br />

‣ C253 and C254 is <strong>DVP</strong>/SE are software high speed counters. The high-speed interrupt<br />

is I030.<br />

‣ Block diagram of software counters and comparators:<br />

Software<br />

Counter 1<br />

Software<br />

comparatorx 6<br />

Set / reset<br />

1<br />

Software<br />

counter 2<br />

Count value<br />

Set / reset<br />

2<br />

Software<br />

counter 8<br />

Set / reset<br />

6<br />

6. Explanations on hardware comparators DHSCS/DHSCR instruction:<br />

‣ There are 2 groups of hardware comparators provided respectively for 2 groups of<br />

hardware counters (A group and B group), and each group shares 4 comparators with<br />

individual Compare Set/Reset function.<br />

‣ When programming DHSCS and DHSCR instructions, the total of Set/Reset<br />

comparisons for both instructions can not be more than 4, otherwise syntax check error<br />

will occur.<br />

‣ Each high-speed counter interrupt occupies an associated hardware comparator,<br />

consequently the interrupt number can not be repeated. Also, I010~I040 can only be<br />

applied for group A comparators and I050~I080 for group B.<br />

3-125

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!