Re: [WIP] Bare-metal register browsing

Yao Qi
2015-06-02T13:00:15Z

Vladimir Prus <vladimir.prus@gmail.com> writes:

> <space annex="memory" name="io">
> <group name="UART2">
> <reg bitsize="32" name="UART2CTL" offset="0x4000e030" read-sensitive="no" save-restore="yes" type="UART0_UART0CTL"/>
> <reg bitsize="32" name="UART2LTIM" offset="0x4000e098" read-sensitive="no" save-restore="yes" type="UART0_UART0LTIM"/>
> </group>
> <group name="UART3">
> size="32" name="UART3CTL" offset="0x4000f030" read-sensitive="no" save-restore="yes" type="UART0_UART0CTL"/>
> <reg bitsize="32" name="UART3LTIM" offset="0x4000f098" read-sensitive="no" save-restore="yes" type="UART0_UART0LTIM"/>
> </group>

It is good to have a "group" element, so that we can easily define a
group of registers. However, what is the usefulness of element "space"?
to define a group of "group" elements?

--
Yao (齐尧)