aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@yeah.nah.nz>2021-05-18 22:09:16 +1200
committerDavid Phillips <david@yeah.nah.nz>2021-05-18 22:09:16 +1200
commit28fc90105a6b896ef3890386a859c645e2a16130 (patch)
tree31fdfc80d43f48170d38a9038168c335b50f0c0c
parentacfd12d8fd23b789a2c0082d1c16db855d8035d3 (diff)
downloadcds9k-28fc90105a6b896ef3890386a859c645e2a16130.tar.xz
readme: Unindent tables
Fixes table rendering issue, since they should not be preformatted text/code
-rw-r--r--README.md48
1 files changed, 24 insertions, 24 deletions
diff --git a/README.md b/README.md
index fb5af9e..9f751d8 100644
--- a/README.md
+++ b/README.md
@@ -22,9 +22,9 @@ Mode: read-write
Write this register to set the fan PWM duty.
- | Bits | 15 - 8 | 7 - 0 |
- | ---- | -------- | -------- |
- | Use | reserved | duty_val |
+| Bits | 15 - 8 | 7 - 0 |
+| ---- | -------- | --------- |
+| Use | reserved | duty\_val |
The value for `duty_val` can be determined as:
@@ -38,9 +38,9 @@ Mode: read-only
Read this register to determine the fan tachometer reading (FIXME units TBD).
- | Bits | 15 - 0 |
- | ---- | -------- |
- | Use | reserved |
+| Bits | 15 - 0 |
+| ---- | -------- |
+| Use | reserved |
### `cds9k-led`
@@ -70,9 +70,9 @@ Mode: read-write
Write this register to set the LED PWM duty. The PWM duty can be calculated as:
- | Bits | 15 - 8 | 7 - 0 |
- | ---- | -------- | -------- |
- | Use | reserved | duty_val |
+| Bits | 15 - 8 | 7 - 0 |
+| ---- | -------- | --------- |
+| Use | reserved | duty\_val |
The value for `duty_val` can be determined as:
@@ -94,9 +94,9 @@ In this way, the LED can be blinked on and off with 50% duty at a programmable
frequency. When the LED should be enabled during each cycle, it is driven at
the PWM brightness programmed in the `LED_PWM_DUTY` register.
- | Bits | 15 - 8 | 7 - 0 |
- | ---- | -------- | ---------- |
- | Use | reserved | period_val |
+| Bits | 15 - 8 | 7 - 0 |
+| ---- | -------- | ----------- |
+| Use | reserved | period\_val |
### `cds9k-gpio`
@@ -109,17 +109,17 @@ between input/hi-z and output.
Mode: read-write
- | Bits | 15 - 0 |
- | ---- | ------ |
- | Use | port |
+| Bits | 15 - 0 |
+| ---- | ------ |
+| Use | port |
#### Register: 0x1: DIRECTION
Mode: read-write
- | Bits | 15 - 0 |
- | ---- | -------------- |
- | Use | direction_mask |
+| Bits | 15 - 0 |
+| ---- | --------------- |
+| Use | direction\_mask |
### `cds9k-reset`
@@ -133,9 +133,9 @@ Mode: read-write
Write as 0xDEAD to assert the reset, and write as 0x0000 to deassert the reset.
- | Bits | 15 - 0 |
- | ---- | ----------- |
- | Use | reset_magic |
+| Bits | 15 - 0 |
+| ---- | ------------ |
+| Use | reset\_magic |
#### Register: 0x1: RESERVED
@@ -143,9 +143,9 @@ Mode: read-only
Write as 0xDEAD to assert the reset, and write as 0x0000 to deassert the reset.
- | Bits | 15 - 0 |
- | ---- | -------- |
- | Use | reserved |
+| Bits | 15 - 0 |
+| ---- | -------- |
+| Use | reserved |
## Misc drivers