Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit b7a8879

Browse files
committed
Board: editorial corrections
Signed-off-by: Zoltan Kis <[email protected]>
1 parent 55cb7e6 commit b7a8879

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

board/gpio.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ On certain boards, analog pins can also be used as GPIO.
1111
### The GPIO API object
1212
When requiring `"gpio"`, the following steps are run:
1313
- If there is no permission for using the functionality, throw `SecurityError`.
14-
- If the AIO functionality is not supported on the board, throw `"NotSupportedError"`.
14+
- If the GPIO functionality is not supported on the board, throw `"NotSupportedError"`.
1515
- Return an object that implements the following methods.
1616

1717
| Method | Description |
@@ -33,7 +33,7 @@ The following dictionary is used for initializing GPIO pins and ports.
3333
| `edge` | string | yes | `"any"` | Interrupt generation mode |
3434
| `state` | string | yes | `undefined` | "pulldown", "pullup" |
3535

36-
The `pin` property is either a number or string, with values defined by the OS or board documentation. The default valus is `undefined`.
36+
The `pin` property is either a number or string, with values defined by the OS or board documentation. The default value is `undefined`.
3737

3838
The `mapping` property represents the pin namespace, either `"system"` or `"board"`, by default `"system"`.
3939

board/i2c.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This API uses a [`Buffer`](../README.md/#buffer) object for both read and write.
1515
### The I2C API object
1616
When requiring `"i2c"`, the following steps are run:
1717
- If there is no permission for using the functionality, throw `SecurityError`.
18-
- If the AIO functionality is not supported on the board, throw `"NotSupportedError"`.
18+
- If the I2C functionality is not supported on the board, throw `"NotSupportedError"`.
1919
- Return an object that implements the following method.
2020

2121
| Method | Description |

board/pwm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The term "channel" is used as the numeric index of a PWM pin relative to the PWM
1212
### The PWM API object
1313
When requiring `"pwm"`, the following steps are run:
1414
- If there is no permission for using the functionality, throw `SecurityError`.
15-
- If the AIO functionality is not supported on the board, throw `"NotSupportedError"`.
15+
- If the PWM functionality is not supported on the board, throw `"NotSupportedError"`.
1616
- Return an object that implements the following method.
1717

1818
| Method | Description |

board/spi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This API uses a [`Buffer`](../README.md/#buffer) object for both read and write
1515
### The SPI API object
1616
When requiring `"spi"`, the following steps are run:
1717
- If there is no permission for using the functionality, throw `SecurityError`.
18-
- If the AIO functionality is not supported on the board, throw `"NotSupportedError"`.
18+
- If the SPI functionality is not supported on the board, throw `"NotSupportedError"`.
1919
- Return an object that implements the following method.
2020

2121
| Method | Description |

board/uart.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This API uses a [`Buffer`](../README.md/#buffer) object for both read and write.
88
### The UART API object
99
When requiring `"uart"`, the following steps are run:
1010
- If there is no permission for using the functionality, throw `SecurityError`.
11-
- If the AIO functionality is not supported on the board, throw `"NotSupportedError"`.
11+
- If the UART functionality is not supported on the board, throw `"NotSupportedError"`.
1212
- Return an object that implements the following method.
1313

1414
| Method | Description |

0 commit comments

Comments
 (0)