Pac_I8088W_Getrealpwmduty_Deci - ICP DAS USA I-8088W Api Reference Manual

I/o module
Table of Contents

Advertisement

4.8. pac_i8088W_GetRealPWMDuty_Deci

The function will get real frequency and duty that can be produced by 8088W.
Syntax
short pac_i8088W_GetRealPWMDuty_Deci
(int slot,int ch,unsigned long* deci_hz,unsigned int* deci_duty);
Note:
8088W frequency and duty is non-continuous range, we have to use this
function to get the real frequency and duty which 8088W can produce.
Parameter
1. slot 0 ~ 7
2. ch 0 ~ 7
3. deci_hz: 10 ~ 5000000
4. deci_duty: 1~999
Return Values
Please refer to Error Code Table.
I-8088W API Reference Manual, Version 1.0.0, Aug. 2010
--- 60

Advertisement

Table of Contents
loading

Table of Contents