1.1.2.3.3 DRV_AK4954_IsInitializationDelayed Function

bool DRV_AK4954_IsInitializationDelayed(SYS_MODULE_OBJ object);

Summary

Checks if delayed initialization of the driver has been requested.

Description

If the AK4954 codec is sharing a RESET line with another peripheral, such as a Bluetooth module with its own driver, then the codec driver initialization has to be delayed until after the Bluetooth module has toggled its RESET pin. This function returns true if that option has been selected in MHC in the checkbox: "Delay driver initialization (due to shared RESET pin)"

Preconditions

The DRV_AK4954_Initialize routine must have been called for the specified AK4954 driver instance.

Parameters

ParametersDescription
objectObject handle for the specified driver instance (returned from DRV_AK4954_Initialize)

Returns

True if the delayed initialization option has been enabled

Remarks

This is not needed for audio-only applications without a Bluetooth module.

C

bool DRV_AK4954_IsInitializationDelayed(SYS_MODULE_OBJ object);