43 lines
1.2 KiB
Plaintext
43 lines
1.2 KiB
Plaintext
7a8,9
|
|
> #define AD5940ERR_STOP 10
|
|
>
|
|
30c32
|
|
< .RcalVal = 100.0, /* Calibration Resistor Value (Ohms) */
|
|
---
|
|
> .RcalVal = 100.0, /* Calibration Resistor Value (Ohms) */
|
|
71a74
|
|
> .ShortRe0Se0 = bFALSE,
|
|
79,82c82,85
|
|
< * @brief Configures the Impedance Sweep parameters.
|
|
< * @param start Start Frequency in Hz
|
|
< * @param stop Stop Frequency in Hz
|
|
< * @param ppd Points Per Decade (Resolution)
|
|
---
|
|
> * @brief Configures the Impedance Sweep parameters.
|
|
> * @param start Start Frequency in Hz
|
|
> * @param stop Stop Frequency in Hz
|
|
> * @param ppd Points Per Decade (Resolution)
|
|
315a319,328
|
|
>
|
|
> // Handle RE0-SE0 Short (SW11 in LPTIASW0)
|
|
> if(AppIMPCfg.ShortRe0Se0 == bTRUE)
|
|
> {
|
|
> AD5940_SEQGenInsert(SEQ_WR(REG_AFE_LPTIASW0, 0x00000800)); // Close SW11
|
|
> }
|
|
> else
|
|
> {
|
|
> AD5940_SEQGenInsert(SEQ_WR(REG_AFE_LPTIASW0, 0x00000000)); // Open all LPTIA switches
|
|
> }
|
|
625c638
|
|
< return AD5940ERR_OK;
|
|
---
|
|
> return AD5940ERR_STOP; // Return STOP code
|
|
755c768,769
|
|
< if (AppIMPRegModify(pBuff, &FifoCnt) == AD5940ERR_OK)
|
|
---
|
|
> int32_t status = AppIMPRegModify(pBuff, &FifoCnt);
|
|
> if (status == AD5940ERR_OK)
|
|
782a797,798
|
|
>
|
|
> if (status == AD5940ERR_STOP) return AD5940ERR_STOP;
|