Function ac_init()

Initialize the ACIFC module.

enum status_code ac_init(
		struct ac_dev_inst *const dev_inst,
		Acifc *const ac,
		struct ac_config *const cfg)

Note: Enables the ACIFC module's source clock.
Table 1. Parameters
Data direction Parameter name Description

[out]

dev_inst

Driver structure pointer

[in]

ac

Module hardware register base address pointer

[in]

cfg

Module configuration structure pointer

Returns

Status of initialization.

Table 2. Return Values
Return value Description

STATUS_OK

Module initiated correctly

STATUS_ERR_DENIED

Module has already been enabled

STATUS_ERR_BUSY

Module is busy performing a comparison