# adiStopReceivingFSK

Stops receiving frequency shift key (FSK) data.

#### Supported board types

- AG

- CG

#### Prototype

DWORD adiStopReceivingFSK ( CTAHD ctahd)

Argument | Description
ctahd | Context handle returned by ctaCreateContext or ctaAttachContext.

#### Return values

Return value | Description
SUCCESS |
CTAERR_FUNCTION_NOT_ACTIVE | Attempt made to stop a function that was not running.
CTAERR_INVALID_CTAHD | Context handle is invalid.
CTAERR_INVALID_STATE | Function not available in the current port state.
CTAERR_SVR_COMM | Server communication error.

#### Events

Event | Description
ADIEVN_FSK_RECEIVE_DONE | Generated by the ADI service when the FSK receive function terminates. The event value field contains: CTA_REASON_STOPPED Stopped by application request.

#### Details

Use adiStopReceivingFSK to stop the receipt of data initiated by adiStartReceivingFSK. For more information, refer to Sending and receiving FSK data.