# List of Asyn parameters generated by this module

This module, when loaded in your IOC, will automatically generate asyn parameters that will allow you to get status information as well as set commands to the module.

## List of asyn parameters

This is the list of parameters generated by this module:

| Parameters name    | Type              | Mode       | Description
|--------------------|-------------------|------------|---------------
| INIT               | asynUInt32Digital | Write-only | Request the driver to run the card initialization sequence.
| INIT_STAT          | asynUInt32Digital | Read-only  | Status of the initialization sequence.
| CHECK              | asynUInt32Digital | Write-only | Request the driver to check the status of the cards.
| DC_STAT            | asynUInt32Digital | Read-only  | Status of the DownConverter card.
| UC_STAT            | asynUInt32Digital | Read-only  | Status of the UpConverter card.


## Parameter values

This is a list of the values and their meaning for all the parameters that can be read:

### Parameter `INIT_STAT`:

| Value  | Description
|--------|--------------------------
| 0      | Initialization failed.
| 1      | Initialization succeed.
| 2      | Initialization is in progress.

**Note**: This status is updated when the `INIT` command is executed.

### Parameters `DC_STAT` and `UC_STAT`:

| Value  | Description
|--------|--------------------------
| 0      | The card is not locked.
| 1      | The card is locked.
| 2      | Status check is in progress.

**Note**: These statuses are updated when the `INIT` or `CHECK` commands are executed.

## PV database

In oder to access these parameters, you need to load appropriate records in you application for each parameter.

This module provides an example database [llrfAmcAsyn.db](llrfAmcAsynApp/Db/llrfAmcAsyn.db). You can load this database in your application, or use it as an example to write your own version of it (i.e. if you want to use different PV names).
