Skip to content

Commit ff319f9

Browse files
committed
fix(io_expander): Fix typo in the word direction
1 parent 06eda15 commit ff319f9

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

components/io_expander/esp_io_expander/include/esp_io_expander.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ typedef enum {
7474
*/
7575
typedef enum {
7676
IO_EXPANDER_INPUT, /*!< Input direction */
77-
IO_EXPANDER_OUTPUT, /*!< Output dircetion */
77+
IO_EXPANDER_OUTPUT, /*!< Output direction */
7878
} esp_io_expander_dir_t;
7979

8080
/**

components/io_expander/esp_io_expander_ht8574/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ Print all pins's status to the log:
4444
esp_io_expander_print_state(io_expander);
4545
```
4646
47-
Set pin 0 and pin 1 with output dircetion and low level:
47+
Set pin 0 and pin 1 with output direction and low level:
4848
4949
```c
5050
esp_io_expander_set_dir(io_expander, IO_EXPANDER_PIN_NUM_0 | IO_EXPANDER_PIN_NUM_1, IO_EXPANDER_OUTPUT);
5151
esp_io_expander_set_level(io_expander, IO_EXPANDER_PIN_NUM_0 | IO_EXPANDER_PIN_NUM_1, 0);
5252
```
5353

54-
Set pin 2 and pin 3 with input dircetion:
54+
Set pin 2 and pin 3 with input direction:
5555

5656
```c
5757
uint32_t pin_levels = 0;

components/io_expander/esp_io_expander_tca9554/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ Print all pins's status to the log:
4646
esp_io_expander_print_state(io_expander);
4747
```
4848
49-
Set pin 0 and pin 1 with output dircetion and low level:
49+
Set pin 0 and pin 1 with output direction and low level:
5050
5151
```c
5252
esp_io_expander_set_dir(io_expander, IO_EXPANDER_PIN_NUM_0 | IO_EXPANDER_PIN_NUM_1, IO_EXPANDER_OUTPUT);
5353
esp_io_expander_set_level(io_expander, IO_EXPANDER_PIN_NUM_0 | IO_EXPANDER_PIN_NUM_1, 0);
5454
```
5555

56-
Set pin 2 and pin 3 with input dircetion:
56+
Set pin 2 and pin 3 with input direction:
5757

5858
```c
5959
uint32_t pin_levels = 0;

components/io_expander/esp_io_expander_tca95xx_16bit/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ Print all pins's status to the log:
4747
esp_io_expander_print_state(io_expander);
4848
```
4949
50-
Set pin 0 and pin 1 with output dircetion and low level:
50+
Set pin 0 and pin 1 with output direction and low level:
5151
5252
```c
5353
esp_io_expander_set_dir(io_expander, IO_EXPANDER_PIN_NUM_0 | IO_EXPANDER_PIN_NUM_1, IO_EXPANDER_OUTPUT);
5454
esp_io_expander_set_level(io_expander, IO_EXPANDER_PIN_NUM_0 | IO_EXPANDER_PIN_NUM_1, 0);
5555
```
5656

57-
Set pin 2 and pin 3 with input dircetion:
57+
Set pin 2 and pin 3 with input direction:
5858

5959
```c
6060
uint32_t pin_levels = 0;

0 commit comments

Comments
 (0)