Packet — 32-bit Control Register (datasheet order)
A peripheral control register in LSB-first order, which is how every datasheet in the world numbers bits and the opposite of the RFC convention the protocol templates use. Reserved bits are declared with their required value rather than left out, so the layout has no unclaimed holes and firmware written from it will not leave a reserved bit floating.
Make it your own.
title "UART control register (CR1)"
width 32
bitorder lsb
words 1
0: UE = 1
1: UESM
2: RE
3: TE
4: IDLEIE
5: RXNEIE
6: TCIE
7: TXEIE
8: PEIE
9: PS
10: PCE
11: WAKE
12: M0
13: MME
14: CMIE
15: OVER8
16-20: DEDT
21: Reserved = 0
22-26: DEAT
27: Reserved = 0
28: M1
29: Reserved = 0
30: Reserved = 0
31: RXFFIE