M1966_flsh_cfg, M1966_flsh_set – Maxim Integrated 73M1866B/73M1966B Reference Driver User Manual
Page 51
UG_1x66B_015
73M1866B/73M1966B Reference Driver User Guide
Rev. 2.7
51
6.3.7 M1966_FLSH_CFG
Description
This is the configuration of flash-hook timing parameter for the FXO interface.
#define M1966_FLSH_CFG _IOWR(0xA4,0xBA,unsigned int)
Prototype
int ioctl (
int chan_fd,
int M1966_FLSH_CFG,
unsigned long param );
Parameters
Data Type
Name
Description
int
chan_fd
Channel descriptor.
int
M1966_FLSH_CFG
I/O control identifier for this operation.
unsigned long
param
The desired flash duration. Range from 5 to 50 ms,
inclusive. If out of range it is forced to 10 ms.
Return Values
Data Type
Description
int
Always returns 0.
6.3.8 M1966_FLSH_SET
Description
Performs hook flashing on the FXO interface for the duration set by M1966_FLSH_CFG.
#define M1966_FLSH_SET _IOWR(0xA4,0xBC,unsigned int)
Prototype
int ioctl (
int chan_fd,
int M1966_FLSH_SET,
unsigned long param );
Parameters
Data Type
Name
Description
int
chan_fd
Channel descriptor.
int
M1966_FLSH_SET
I/O control identifier for this operation.
unsigned long
param
N/A.
Return Values
Data Type
Description
int
Always returns 0.