I-9048/I-8048W Linux API Reference, v 1.0.2 E-mail: [email protected]
29
3.1.
Function List
The common API functions of I-8048W / I-9048 Module list as below table. Detailed information related
to individual functions can be found in the following sections.
Systematics
Function
Description
DI Read
I8048W_DI_ALL
This function reads the full channel DI value of
the I-9048 module.
I8048W_DI _Ch
This function read the single-channel DI status
of the I-9048 module.
RisingReg /
FallingReg
I8048W_ Set_RisingReg
This function Enable/Disable the rising interrupt
of an I-9048 channel.
I8048W_ Set_FallingReg
This function Enable/Disable the falling
interrupt of an I-9048 channel.
I8048W_ Read_RisingReg
This function Read the rising interrupt setting
status of an I-9048 channel.
I8048W_ Read_ FallingReg
This function Read the falling interrupt setting
status of an I-9048 channel.
Event
I8048W_ Read_RisingEvent
This function read rising interrupt status from
the I-9048 modules.
I8048W_ Read_FallingEvent
This function read falling interrupt status from
the I-9048 modules.
I8048W_ Read_RisingEventCount
This function read total count values of the
rising interrupt occurred on an I-9048 channel.
I8048W_ Read_FallingEventCount
This function read total count values of the
rising interrupt occurred on an I-9048 channel.
I8048W_ Clear_RisingEventCount
This function clear total count values of the
rising interrupt occurred on an I-9048 channel
I8048W_ Clear_FallingEventCount
This function clear total count values of the
falling interrupt occurred on an I-9048 channel
Init
I8048W_ Init
This function sets the rising or falling trigger
type of the I-9048 module.
Interrupt
service routine
I8048W_ InstallISR
This function is used to install a slot interrupt
service route for I-9048.
I8048W_UnInstallISR
This function is used to uninstall a slot interrupt
service route and disable a hardware interrupt.
I8048W_ UnFreezeINT
This function clears interrupt status of the
I-9048 channel.
Library
I8048W_ GetLibVersion
This function to get the library version of I-9048.