Omega Vehicle Security DAQ-16 User Manual

Page 29

Advertising
background image

Counter 1 - Clock rate register (high word)

operating mode:

2

minimum count value:

2

configuration byte:

0 / 1 / 1 / 1 / 0 / 1 / 0 / 0 = 74H

Example:

Program the value 13A4H into the high word of the clock rate register.

output 74H to base_address + 0FH

output A4H to base_address + 0DH

output 13H to base_address + 0DH

Example:

Program the value FFFFH into the high word of the clock rate register.

output 74H to base_address + 0FH

output FFH to base_address + 0DH

output FFH to base_address + 0DH

Counter 2 - Multi-function timer register

operating mode:

2

minimum count value:

2

configuration byte:

1 / 0 / 1 / 1 / 0 / 1 / 0 / 0 = B4H


Example:

Program the value 000AH into the multi-function timer register.

output B4H to base_address + 0FH

output 0AH to base_address + 0EH

output 00H to base_address + 0EH

Example:

Program the value 0100H into the multi-function timer register.

output B4H to base_address + 0FH

output 00H to base_address + 0EH

output 01H to base_address + 0EH

DAQ-16 Users Manual 29

Advertising