
IRU151-I Programmer Guidel
Function Description
47
2.38 GetDOPWMConf
Description
During DO PWM starting, User can call this function to get the DO PWM mode
configuration.
Definition
int GetDOPWMConf (
char
*config,
int
*length
);
Parameters
*config
The data of the gotten information.
Byte 0 : Channel index.
Byte 1 : Duty cycle
Byte 2 : Frequency(H)
Byte 3 : Frequency(L)
*length
The data length of the gotten information.
Return value
AXIO_OK if success, or other value represents the error. (See Error Code)
Example
short
channel = 1;
int
ret;
char
config[16];
int
length = 0;
ret = GetDOPWMConf
(config, &length);
(continue)
Содержание IRU151-I
Страница 1: ...IRU151 I Software Development Kit Reference Manual...
Страница 2: ...ii Revision History Version Revised Date Author Description 1 0 2018 12 05 Hank 1st release...
Страница 6: ...vi This page is intentionally left blank...
Страница 10: ...IRU151 I Programmer Guidel 4 Introduction if stop 2 break Close_Device...
Страница 11: ...IRU151 I Programmer Guidel Introduction 5 1 3 The Calibration Flow Chart...
Страница 12: ...IRU151 I Programmer Guidel 6 Introduction This page is intentionally left blank...