Registers
This chapter lets you manage the device’s register map. You have extensive flexibility to configure registers and can add them manually if needed. If the device has no registers, this section will remain empty.
Each register in the model contains the following information:
Section Name | Description |
---|---|
Name | Name of the register |
Address | Address of the register |
Size | Size of the register. Can be selected in increments of 8. |
Delay | Delay in ms after operation |
Type | Defines type of the register between Configuration/Data/Status |
Access | Defines access type between Read/Read-Write/Write |
Default | Defines default value of the register |
Description | Provide description of the register functions. |
Datatype Name | Name of the Data type associated with the register |
Datatype Type | Defines between bitmap or int type of the register. |
Datatype Size | Determines total size of the datatype |
Datatype description | Provides description of the datatype |
For registers with bitmaps, you’ll find detailed bit allocation information. You can configure these allocations either visually through drag-and-drop or by editing data fields directly.
Each bit allocation contains the following information:
Section Name | Description |
---|---|
Bit allocation | Provides graphical representation of all fields in high to low bit order. Each field is clickable, opening further information. See “Adjusting bit allocation” on how to adjust this section. |
Offset | Provides relative address of the field within bit allocation. |
Size | Size of the field in bits. |
Name | Defines name of the field |
Default | Defines default value of the field |
Description | Provide description of the field. |
List of constraints | Provides a list of possible values that could be written into the field and their corresponding functionalities. Users can add additional constraints by clicking “Add constraint”. Please see section “Marking bits reserved” for reserved bits. |
How do I adjust bit allocation?
You can make adjustments both via graphical interface and via data fields.
You are able to:
-
Drag the size of the field
-
Delete the field by pressing backspace
-
Create new field by pressing “+” on the empty field
-
Mark field reserved by clicking “is reserved”