AARCHMRS Schema 2.7.4

↚ Home

Types.PstateField object

This object is used to link to a PSTATE field, it holds all the components required for the linking.

object

Properties Type Description
_meta Meta

Metadata

See Meta for more information.
_type
Enum
Types.PstateField
value
  • object
Properties Type Description
name
  • string

The name of the PSTATE field, for example PSTATE.EL, PSTATE.D.

Pattern
/^PSTATE\.[A-Za-z][A-Za-z0-9_]*$/
slices
oneOf [
null
]
oneOf Rangeset

The bit slice on the PSTATE value.

oneOf null
Additional Properties
Not Allowed
◊ Required
Properties marked with ◊ are required properties.
Additional Properties
Not Allowed
◊ Required
Properties marked with ◊ are required properties.

Schema http://json-schema.org/draft-04/schema#

{
  "info": [
    "This object is used to link to a PSTATE field, it holds all the components required for the linking."
  ],
  "title": "Types.PstateField",
  "$schema": "http://json-schema.org/draft-04/schema#",
  "deprecated": "Replaced with $(AST.Concat) and $(Types.Variable).",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "_meta": {
      "$ref": "../Meta.json",
      "info": [
        "Metadata"
      ]
    },
    "_type": {
      "enum": [
        "Types.PstateField"
      ]
    },
    "value": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "name": {
          "type": "string",
          "info": [
            "The name of the PSTATE field, for example `PSTATE.EL`, `PSTATE.D`."
          ],
          "pattern": "^PSTATE\\.[A-Za-z][A-Za-z0-9_]*$"
        },
        "slices": {
          "oneOf": [
            {
              "$ref": "../Rangeset.json",
              "info": [
                "The bit slice on the `PSTATE` value."
              ]
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "name"
      ]
    }
  },
  "required": [
    "value"
  ]
}