File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
esp_io_expander_tca95xx_16bit Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ typedef enum {
7474 */
7575typedef 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/**
Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments