Skip to content

Commit 705e307

Browse files
committed
RFC #60: fix formatting.
1 parent d2c1834 commit 705e307

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

text/0060-soc-uart-peripheral.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ class MySoC(wiring.Component):
9797

9898
`Control.enable` is initialized to 0 on reset.
9999

100-
If `Control.enable` is 0, the receiver PHY should be held in reset state.
101-
If `Control.enable` is 1, the receiver PHY should operate normally.
100+
- If `Control.enable` is 0, the receiver PHY should be held in reset state.
101+
- If `Control.enable` is 1, the receiver PHY should operate normally.
102102

103103
##### Status (read/write)
104104

@@ -135,8 +135,8 @@ baudrate = int(100e6 / divisor)
135135

136136
An implementation may also choose to ignore the `Divisor` register and configure the baudrate through unspecified means.
137137

138-
If `Control.enable` is 0, `Divisor` is read/write.
139-
If `Control.enable` is 1, `Divisor` is read-only.
138+
- If `Control.enable` is 0, `Divisor` is read/write.
139+
- If `Control.enable` is 1, `Divisor` is read-only.
140140

141141
`Divisor` is initialized to `divisor_init` on reset.
142142

@@ -147,9 +147,9 @@ If `Control.enable` is 1, `Divisor` is read-only.
147147
{name: 'data', bits: 8, attr: 'R'},
148148
], {bits: 8})">
149149

150-
If `Control.enable` is 0 or `Status.ready` is 0:
150+
- If `Control.enable` is 0 or `Status.ready` is 0:
151151
* reading from `Data` has no side-effect and returns an unspecified value.
152-
If `Control.enable` is 1 and `Status.ready` is 1:
152+
- If `Control.enable` is 1 and `Status.ready` is 1:
153153
* reading from `Data` consumes one symbol from the receive buffer and returns it.
154154

155155
#### Transmitter
@@ -164,8 +164,8 @@ If `Control.enable` is 1 and `Status.ready` is 1:
164164

165165
`Control.enable` is initialized to 0 on reset.
166166

167-
If `Control.enable` is 0, the transmitter PHY should be held in reset state.
168-
If `Control.enable` is 1, the transmitter PHY should operate normally.
167+
- If `Control.enable` is 0, the transmitter PHY should be held in reset state.
168+
- If `Control.enable` is 1, the transmitter PHY should operate normally.
169169

170170
##### Status (read-only)
171171

@@ -194,8 +194,8 @@ baudrate = int(100e6 / divisor)
194194

195195
An implementation may also choose to ignore the `Divisor` register and configure the baudrate through unspecified means.
196196

197-
If `Control.enable` is 0, `Divisor` is read/write.
198-
If `Control.enable` is 1, `Divisor` is read-only.
197+
- If `Control.enable` is 0, `Divisor` is read/write.
198+
- If `Control.enable` is 1, `Divisor` is read-only.
199199

200200
`Divisor` is initialized to `divisor_init` on reset.
201201

@@ -208,9 +208,9 @@ If `Control.enable` is 1, `Divisor` is read-only.
208208

209209
- If `Status.rdy` is 1, writing to `Data` adds one character to the transmit buffer.
210210

211-
If `Control.enable` is 0 or `Status.ready` is 0:
211+
- If `Control.enable` is 0 or `Status.ready` is 0:
212212
* writing to `Data` has no side-effect.
213-
If `Control.enable` is 1 and `Status.ready` is 1:
213+
- If `Control.enable` is 1 and `Status.ready` is 1:
214214
* writing to `Data` adds one symbol to the transmit buffer.
215215

216216
## Reference-level explanation

0 commit comments

Comments
 (0)