CASP Python Libraries
This documentation primarily focuses on the usage of functions from 'casp', 'casp_be', 'casp_gpio' and 'casp_udio' namespaces.
Loading...
Searching...
No Matches
casp_defs.py
1"""! This module provides definitions and constants that user can use as arguments in functions from modules such as \ref casp.py, \ref casp_gpio.py, \ref casp_udio.py etc.
2"""
3
4ENABLE = 1
5DISABLE = 0
6
7SET = 1
8RESET = 0
9
10PRECISION_32 = 0
11PRECISION_48 = 1
12PRECISION_64 = 2
13
14PROGRAMMER0 = 0
15PROGRAMMER1 = 1
16
17LANG_PYTHON = 0;
18LANG_FORTRAN = 1;
19LANG_VERILOG = 2;
20
21DATA_TYPE_STRING = "String"
22DATA_TYPE_REAL = "Real"
23DATA_TYPE_REAL32 = "Real32"
24DATA_TYPE_REAL64 = "Real64"
25DATA_TYPE_INT = "Integer"
26DATA_TYPE_INT16 = "Integer16"
27DATA_TYPE_INT32 = "Integer32_Boolean"
28DATA_TYPE_INT64 = "Integer64"
29DATA_TYPE_BYTE = "Byte"
30DATA_TYPE_INDEX = "Selected Index"