Skip to main content

MMR description

v0.1

:::note Auto-generated This page is generated from mmr_schema.json by the schema doc generator. To update this page, edit the schema file and run bin/chore gen schema-docs. :::

A memory-mapped register specification

Properties​

PropertyTypeRequiredDescription
$schemaany✓Path to schema, relative to <UDB ROOT>/schemas
kindany✓Object type
namestring✓MMR name
long_namestring✓One line description for the MMR
descriptionstring | Array<conditional_text>✓Function of the register
definedByA condition (YAML structure or IDL function). See the conditions reference for details.✓Extension(s) that define the MMR
physical_addressinteger✓Physical memory address of the register
writableboolean✓Whether or not the register can be written by software
length8 | 16 | 32 | 64 | 128✓Length, in bits, of the register. Must be a fixed integer (no XLEN-dependent lengths for MMIO).
fieldsobjectfields of this MMR

:::note Tooling field $source is an optional field set automatically by UDB tooling to record the file path this object was loaded from. You do not need to set it manually. :::

Schema Information​

PropertyValue
Versionv0.1
JSON Schema VersionDraft 07