M1x22_flsh_cfg, M1x22_flsh_set – Maxim Integrated 73M1822/73M1922 Control Module User Manual

Page 41

Advertising
background image

UG_1x22_053

73M1822/73M1922 Control Module User Guide

Rev. 1.0

41

6.3.7 M1X22_FLSH_CFG

Description

This is the configuration of flash-hook timing parameter for the modem interface.

#define M1X22_FLSH_CFG _IOWR(0xA4,0xBA,unsigned int)

Prototype

int ioctl (

int chan_fd,

int M1X22_FLSH_CFG,

unsigned long param );


Parameters

Data Type

Name

Description

int

chan_fd

Channel descriptor.

int

M1X22_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 M1X22_FLSH_SET

Description

Performs hook flashing on the modem interface for the duration set by M1X22_FLSH_CFG.

#define M1X22_FLSH_SET _IOWR(0xA4,0xBC,unsigned int)

Prototype

int ioctl (

int chan_fd,

int M1X22_FLSH_SET,

unsigned long param );


Parameters

Data Type

Name

Description

int

chan_fd

Channel descriptor.

int

M1X22_FLSH_SET

I/O control identifier for this operation.

unsigned long

param

N/A.


Return Values

Data Type

Description

int

Always returns 0.

Advertising