DRV_AT25_Close Function

C

void DRV_AT25_Close( const DRV_Handle handle )

Summary

Closes the opened-instance of the AT25 driver.

Description

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

Precondition

DRV_AT25_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_AT25_Open

DRV_AT25_Close(handle);

Remarks

None.