M1x22_cntry_nmbr_get, M1x22_cntry_nmbr – Maxim Integrated 73M1822/73M1922 Control Module User Manual
Page 23
Advertising
UG_1x22_053
73M1822/73M1922 Control Module User Guide
Rev. 1.0
23
6.1.2 M1X22_CNTRY_NMBR_GET
Description
Converts a null terminated ASCII string into a country code. This country code can be used in the
M1X22_CH_INIT
#define M1X22_CNTRY_NMBR_GET _IOWR(0xA4,0xB5,unsigned int)
Prototype
int ioctl (
int chan_fd,
int M1X22_CNTRY_NMBR_GET,
unsigned long param );
Parameters
Data Type
Name
Description
int
chan_fd
Channel descriptor.
int
M1X22_CNTRY_NMBR_GET
I/O control identifier for this operation.
unsigned long
param
Address of the null terminated character string.
Return Values
Data Type
Description
int
Return country code – M1X22_COUNTRY_CODE.
255 – Invalid country code.
Advertising