Piod64_Setcountera; Piod64_Readcountera - ICP DAS USA PIO-D64 User Manual

Table of Contents

Advertisement

ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ
+7(495)109-02-08 sales@bbrc.ru www.bbrc.ru
5.7.3

PIOD64_SetCounterA

Description :
This subroutine is used to set the 8254 counter's mode and value.
Users have to call the PIODIO_ActiveBoard() function before calling this
function.
Syntax :
void PIOD64_SetCounterA(WORD wCounterNo, WORD
Parameter :
wCounterNo
wCounterMode
wCounterValue
Return:
None

5.7.4 PIOD64_ReadCounterA

Description :
This subroutine is used to obtain the 8254 counter's value. Users
have to call the PIODIO_ActiveBoard() function before calling this
function.
Syntax :
DWORD PIOD64_ReadCounterA(WORD wCounterNo,
Parameter :
wCounterNo
wCounterMode : [Input] The 8254 Counter-Mode: 0 to 5.
Return:
Returns the 16 bits counter's value. (Only the lower WORD is valid.)
PIO-D64/PIO-D64U User's Manual ( Ver.1.6, Mar. 2015, PMH-007-16 ) ----- 49
bCounterMode, DWORD wCounterValue);
: [Input] The 8254 Counter-Number: 0 to 5.
(0 to 2: Chip-0, 3 to 5: Chip-1)
: [Input] The 8254 Counter-Mode: 0 to 5.
: [Input] The 16 bits value for the counter to
count. Only the lower WORD is valid.
WORD bCounterMode);
: [Input] The 8254 Counter-Number: 0 to 5.
(0 to 2: Chip-0, 3 to 5: Chip-1)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pio-d64u

Table of Contents