DRV_AT24_Close Function

C

void DRV_AT24_Close( const DRV_HANDLE handle )

Summary

Closes the opened-instance of the AT24 driver.

Description

This routine closes opened-instance of the AT24 driver, invalidating the handle. A new handle must be obtained by calling DRV_AT24_Open before the caller may use the driver again.

Precondition

DRV_AT24_Open must have been called to obtain a valid opened device handle.

Parameters

ParamDescription
handleA valid open-instance handle, returned from the driver's open routine

Returns

None.

Example

// 'handle', returned from the DRV_AT24_Open

DRV_AT24_Close(handle);

Remarks

None.