Software Library API naibrd 1.62
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DIF_ConvertToDebounceLSBtime (uint32_t modid, nai_dif_debounce_idx_t rawdata, float64_t *debounceLSBtime) |
Returns the debounce LSB time value associated with the debounce LSB index. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DIF_ConvertDebounceLSBtime (uint32_t modid, float64_t debounceLSBtime, uint32_t *debounceLSB) |
Returns the closest debounce LSB index associated with the debounce LSB time value parameter. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DIF_ConvertDebounceLSBtime | ( | uint32_t | modid, |
float64_t | debounceLSBtime, | ||
uint32_t * | debounceLSB ) |
Returns the closest debounce LSB index associated with the debounce LSB time value parameter.
Raw Data Code Idx Debounce Time, mS ----------------------------------------- 0x00 0.00016 0x01 0.00032 0x02 0.00064 0x03 0.00128 0x04 0.00256 0x05 0.00512 0x06 0.01024 0x07 0.02048 0x08 0.04096 0x09 0.08192 0x0A 0.16384 0x0B 0.32768 0x0C 0.65536 0x0D 1.31072 0x0E 2.62144 0x0F 5.24288 *Applicable for D8 module only
modid | : (Input) Differential Module ID. |
debounceLSBtime | : (Input) Debounce LSB, entry in milliseconds (mS). |
debounceLSB | : (Output) Raw Data Code, debounce LSB index. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DIF_ConvertToDebounceLSBtime | ( | uint32_t | modid, |
nai_dif_debounce_idx_t | rawdata, | ||
float64_t * | debounceLSBtime ) |
Returns the debounce LSB time value associated with the debounce LSB index.
Raw Data Code Debounce Time, mS ----------------------------------------- 0x00 0.00016 0x01 0.00032 0x02 0.00064 0x03 0.00128 0x04 0.00256 0x05 0.00512 0x06 0.01024 0x07 0.02048 0x08 0.04096 0x09 0.08192 0x0A 0.16384 0x0B 0.32768 0x0C 0.65536 0x0D 1.31072 0x0E 2.62144 0x0F 5.24288 *Applicable for D8 module only
modid | : (Input) Differential Module ID. |
rawdata | : (Input) Raw Data Code. |
debounceLSBtime | : (Output) Debounce LSB time in milliseconds (mS). |