11 fmbdevicenumenum, 12 fmbsetfirstdev, 13 fmbsetnextdev – IEI Integration HDC-502E_SDK_Linux User Manual

Page 25: 14 drvbootall

Advertising
background image

HDC-502E SDK (Linux)

Page 25

2.3.11 FMBDeviceNumEnum

Description: get the chip number of the current operating codec

Prototype: enum FMBDeviceNumEnum FmbGetCurDeviceNum(void)

Parameters: None

Return Value: enum FMBDeviceNumEnum, device number

2.3.12 FmbSetFirstDev

Description: set to switch the current operating device to the first available device code

Prototype: enum FMBDeviceNumEnum FmbSetFirstDev(void)

Parameters: None

Return Value: enum FMBDeviceNumEnum: return the device number set, return

FMBEnmDevice_NONE if there is no available devices

2.3.13 FmbSetNextDev

Description: set to switch the current operating device to the next available device

number of the current device

Prototype: enum FMBDeviceNumEnum FmbSetNextDev(void)

Parameters: None

Return Value: enum FMBDeviceNumEnum: return the device number set, return

FMBEnmDevice_NONE if there is no available devices

2.3.14 DrvBootAll

Description: load the firmware of all the codec chip and start the codec chip

Prototype: int DrvBootAll(void)

Parameters: None

Advertising