From 8c25375d2a550b3a4b2b5008173ec50e4f923ecd Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Thu, 25 Jul 2024 23:35:45 +0200 Subject: [PATCH] Fix typos --- content/docs/concepts/compiler-internals/harvard-arch.md | 2 +- content/docs/concepts/low-power.md | 6 +++--- content/docs/guides/contributing/_index.md | 2 +- content/docs/guides/contributing/organization.md | 2 +- content/docs/guides/debugging.md | 2 +- content/docs/guides/ide-integration/_index.md | 2 +- content/docs/guides/tips-n-tricks.md | 2 +- .../reference/microcontrollers/machine/arduino-mega1280.md | 2 +- .../reference/microcontrollers/machine/arduino-mega2560.md | 2 +- .../reference/microcontrollers/machine/arduino-mkr1000.md | 4 ++-- .../microcontrollers/machine/arduino-mkrwifi1010.md | 4 ++-- .../docs/reference/microcontrollers/machine/arduino-nano.md | 2 +- .../reference/microcontrollers/machine/arduino-nano33.md | 4 ++-- .../docs/reference/microcontrollers/machine/arduino-zero.md | 4 ++-- content/docs/reference/microcontrollers/machine/arduino.md | 2 +- .../reference/microcontrollers/machine/atsame54-xpro.md | 2 +- .../docs/reference/microcontrollers/machine/badger2040.md | 2 +- content/docs/reference/microcontrollers/machine/bluepill.md | 2 +- .../reference/microcontrollers/machine/challenger-rp2040.md | 2 +- .../microcontrollers/machine/circuitplay-bluefruit.md | 2 +- .../microcontrollers/machine/circuitplay-express.md | 4 ++-- content/docs/reference/microcontrollers/machine/clue.md | 2 +- .../microcontrollers/machine/esp32-coreboard-v2.md | 2 +- .../docs/reference/microcontrollers/machine/esp32-mini32.md | 2 +- .../docs/reference/microcontrollers/machine/feather-m0.md | 4 ++-- .../reference/microcontrollers/machine/feather-m4-can.md | 2 +- .../docs/reference/microcontrollers/machine/feather-m4.md | 2 +- .../microcontrollers/machine/feather-nrf52840-sense.md | 2 +- .../reference/microcontrollers/machine/feather-nrf52840.md | 2 +- .../reference/microcontrollers/machine/feather-rp2040.md | 2 +- .../reference/microcontrollers/machine/feather-stm32f405.md | 2 +- .../reference/microcontrollers/machine/grandcentral-m4.md | 2 +- content/docs/reference/microcontrollers/machine/hifive1b.md | 2 +- .../docs/reference/microcontrollers/machine/itsybitsy-m0.md | 4 ++-- .../docs/reference/microcontrollers/machine/itsybitsy-m4.md | 2 +- .../microcontrollers/machine/itsybitsy-nrf52840.md | 2 +- content/docs/reference/microcontrollers/machine/lgt92.md | 2 +- content/docs/reference/microcontrollers/machine/lorae5.md | 2 +- .../reference/microcontrollers/machine/m5stack-core2.md | 2 +- content/docs/reference/microcontrollers/machine/m5stack.md | 2 +- .../docs/reference/microcontrollers/machine/m5stamp-c3.md | 2 +- .../reference/microcontrollers/machine/macropad-rp2040.md | 2 +- content/docs/reference/microcontrollers/machine/maixbit.md | 2 +- .../reference/microcontrollers/machine/matrixportal-m4.md | 2 +- .../reference/microcontrollers/machine/metro-m4-airlift.md | 2 +- content/docs/reference/microcontrollers/machine/microbit.md | 2 +- .../docs/reference/microcontrollers/machine/nano-33-ble.md | 2 +- .../docs/reference/microcontrollers/machine/nano-rp2040.md | 2 +- content/docs/reference/microcontrollers/machine/nicenano.md | 2 +- .../microcontrollers/machine/nrf52840-mdk-usb-dongle.md | 2 +- .../docs/reference/microcontrollers/machine/nrf52840-mdk.md | 2 +- .../reference/microcontrollers/machine/nucleo-f103rb.md | 2 +- .../reference/microcontrollers/machine/nucleo-l031k6.md | 2 +- .../reference/microcontrollers/machine/nucleo-l432kc.md | 2 +- .../reference/microcontrollers/machine/nucleo-wl55jc.md | 2 +- content/docs/reference/microcontrollers/machine/p1am-100.md | 4 ++-- .../reference/microcontrollers/machine/particle-argon.md | 2 +- .../reference/microcontrollers/machine/particle-boron.md | 2 +- .../reference/microcontrollers/machine/particle-xenon.md | 2 +- content/docs/reference/microcontrollers/machine/pca10031.md | 2 +- content/docs/reference/microcontrollers/machine/pca10040.md | 2 +- content/docs/reference/microcontrollers/machine/pca10056.md | 2 +- content/docs/reference/microcontrollers/machine/pca10059.md | 2 +- content/docs/reference/microcontrollers/machine/pico.md | 2 +- .../reference/microcontrollers/machine/pinetime-devkit0.md | 2 +- content/docs/reference/microcontrollers/machine/pybadge.md | 2 +- content/docs/reference/microcontrollers/machine/pygamer.md | 2 +- content/docs/reference/microcontrollers/machine/pyportal.md | 2 +- .../docs/reference/microcontrollers/machine/qtpy-rp2040.md | 2 +- content/docs/reference/microcontrollers/machine/qtpy.md | 4 ++-- .../docs/reference/microcontrollers/machine/reelboard.md | 2 +- .../docs/reference/microcontrollers/machine/stm32f4disco.md | 2 +- content/docs/reference/microcontrollers/machine/swan.md | 2 +- content/docs/reference/microcontrollers/machine/teensy40.md | 2 +- .../reference/microcontrollers/machine/thingplus-rp2040.md | 2 +- .../docs/reference/microcontrollers/machine/trinket-m0.md | 4 ++-- .../reference/microcontrollers/machine/trinkey-qt2040.md | 2 +- .../docs/reference/microcontrollers/machine/tufty2040.md | 2 +- .../microcontrollers/machine/waveshare-rp2040-zero.md | 2 +- .../docs/reference/microcontrollers/machine/wioterminal.md | 2 +- content/docs/reference/microcontrollers/machine/x9pro.md | 2 +- content/docs/reference/microcontrollers/machine/xiao-ble.md | 2 +- .../docs/reference/microcontrollers/machine/xiao-rp2040.md | 2 +- content/docs/reference/microcontrollers/machine/xiao.md | 4 ++-- content/docs/reference/microcontrollers/nano-33-ble.md | 2 +- content/docs/reference/microcontrollers/wioterminal.md | 2 +- content/docs/reference/usage/basic.md | 6 +++--- content/docs/reference/usage/misc-options.md | 2 +- 88 files changed, 103 insertions(+), 103 deletions(-) diff --git a/content/docs/concepts/compiler-internals/harvard-arch.md b/content/docs/concepts/compiler-internals/harvard-arch.md index a4d71026..0622d605 100644 --- a/content/docs/concepts/compiler-internals/harvard-arch.md +++ b/content/docs/concepts/compiler-internals/harvard-arch.md @@ -5,4 +5,4 @@ weight: 10 The AVR architecture is a modified Harvard architecture, which means that flash and RAM live in different address spaces. In practice, this means that any given pointer may either point to RAM or flash, but this is not visible from the pointer itself. -To get TinyGo to work on the Arduino, which uses the AVR architecutre, all global variables (which include string constants!) are marked non-constant and thus are stored in RAM and all pointer dereferences assume that pointers point to RAM. At some point this should be optimized so that obviously constant data is kept in read-only memory but this optimization has not yet been implemented. +To get TinyGo to work on the Arduino, which uses the AVR architecture, all global variables (which include string constants!) are marked non-constant and thus are stored in RAM and all pointer dereferences assume that pointers point to RAM. At some point this should be optimized so that obviously constant data is kept in read-only memory but this optimization has not yet been implemented. diff --git a/content/docs/concepts/low-power.md b/content/docs/concepts/low-power.md index 18d43ef1..6adbb64e 100644 --- a/content/docs/concepts/low-power.md +++ b/content/docs/concepts/low-power.md @@ -8,7 +8,7 @@ description: > --- Microcontrollers are usually rather non-demanding when it comes to power consumption. -Couple hudreds mW is the most you may expect a hobby project would use. +Couple hundreds mW is the most you may expect a hobby project would use. Sometimes, even that is not low enough. Power your project from a battery, and it'd benefit greatly from consuming less. @@ -17,7 +17,7 @@ Common scenario for such projects is sleeping most of the time, and only rarely The main caveat here is if not configured properly, microcontroller and peripherals continue to consume power while your program "sleeps". The standard way to pause execution in Go is to use `time.Sleep()` function that is available in TinyGo too. Depending on the chip and effort put into its support, the efficiency of this function may vary. The only thing certain: this is _not worse_ than busy looping until a certain time has passed. -Still, with such high-level function as `time.Sleep()` it is not always possible to disable everything that consumes power as the decisions may depend on the application, presense of peripherals and the board used. +Still, with such high-level function as `time.Sleep()` it is not always possible to disable everything that consumes power as the decisions may depend on the application, presence of peripherals and the board used. Most microcontrollers have one or more "low power" modes, also known as "deep sleep" and, sometimes, "dormant". In such modes microcontroller may consume as low as milli- or even micro-Watts. @@ -25,7 +25,7 @@ TinyGo gives you low level access to hardware to try and make most of it. ## Implementations -Manufacturers implement different modes, depending of capabilites of their products and name these modes differently too. +Manufacturers implement different modes, depending of capabilities of their products and name these modes differently too. Hence no naming consistency across microcontrollers, unfortunately. Always consult "Power consumption" part of a respective datasheet to understand capabilities of your hardware. diff --git a/content/docs/guides/contributing/_index.md b/content/docs/guides/contributing/_index.md index 9a67a944..2ad00020 100644 --- a/content/docs/guides/contributing/_index.md +++ b/content/docs/guides/contributing/_index.md @@ -49,7 +49,7 @@ Here is how to contribute back some code or documentation: - Submit a pull request against the `dev` branch. - Be kind -Please rebase (not merge) from the dev branch if your PR needs to incorporate changes that occured after your feature branch was created. You can accomplish that via the git command line: +Please rebase (not merge) from the dev branch if your PR needs to incorporate changes that occurred after your feature branch was created. You can accomplish that via the git command line: ``` git checkout dev diff --git a/content/docs/guides/contributing/organization.md b/content/docs/guides/contributing/organization.md index e44f3ad0..1f5f6347 100644 --- a/content/docs/guides/contributing/organization.md +++ b/content/docs/guides/contributing/organization.md @@ -26,7 +26,7 @@ The `GOROOT` directory in TinyGo is actually a constructed GOROOT, cached and re These replaced (or added) packages live in the src subdirectory: - - `src/runtime`: the replacement runtime package that contains the things you would expect of a runtime package. It implements a heap with a garbage collector, a scheduler for goroutines, channels, and perhaps less obviously: it contains various things that are not implemented in the compiler like maps, the slice `append` built-in, and various other language features. It also implements a few device specific things, namely: runtime initialization and timers (used by the time packkage). These last two are device specific and need to be implemented per device. + - `src/runtime`: the replacement runtime package that contains the things you would expect of a runtime package. It implements a heap with a garbage collector, a scheduler for goroutines, channels, and perhaps less obviously: it contains various things that are not implemented in the compiler like maps, the slice `append` built-in, and various other language features. It also implements a few device specific things, namely: runtime initialization and timers (used by the time package). These last two are device specific and need to be implemented per device. - `src/device`: contains hardware register access (memory-mapped I/O) without abstractions. Most of the subpackages are automatically generated. These packages are only used for baremetal programming. - `src/machine`: contains a hardware abstraction layer for chips. You could think of this as the equivalent of the `os` package: it provides portable APIs for common hardware peripherals. For example, every chip vendor implements [I2C]({{}}) differently but the machine package wraps this in a single `*machine.I2C` type that has the same interface on any supported chip. For more information, see the [machine package doucumentation]({{}}) diff --git a/content/docs/guides/debugging.md b/content/docs/guides/debugging.md index 7dbec6ff..0f536ef8 100644 --- a/content/docs/guides/debugging.md +++ b/content/docs/guides/debugging.md @@ -68,7 +68,7 @@ There is a variety of choice when it comes to debug probes, but most debug probe Here are some debug probes that are known to work in TinyGo for at least some boards: * [SEGGER J-Link Edu Mini](https://www.segger.com/products/debug-probes/j-link/models/j-link-edu-mini/): this debugger can debug pretty much all ARM Cortex-M chips and is generally very reliable. However, it comes with some possible issues: it's entirely closed source, it is only allowed to be used for non-commercial purposes and it doesn't support as many chips as the full version. - * [Particle Debugger](https://store.particle.io/products/particle-debugger): a [DAPLink](https://armmbed.github.io/DAPLink/) based debugger that can debug practially all ARM Cortex-M chips (like the SEGGER above) and does not have limitations on how it can be used. It is also open source. While this debugger is designed for Particle hardware it can easily handle chips from other vendors. + * [Particle Debugger](https://store.particle.io/products/particle-debugger): a [DAPLink](https://armmbed.github.io/DAPLink/) based debugger that can debug practically all ARM Cortex-M chips (like the SEGGER above) and does not have limitations on how it can be used. It is also open source. While this debugger is designed for Particle hardware it can easily handle chips from other vendors. * [ST-Link v2](https://www.st.com/en/development-tools/st-link-v2.html): a debugger often included on boards from STMicroelectronics and also sold separately. It is somewhat less powerful than some other debuggers as it is only intended to be used with ST hardware, even though it works with most microcontrollers that support SWD debugging. Note that many online stores sell counterfeit versions of this debugger that may be unreliable. * [DIY DAPLink](https://embeddedcomputing.weebly.com/the-5-programmer-debugger.html): a debugger you can make yourself. Requires compatible board, for example [Seeeduino XIAO](https://www.seeedstudio.com/Seeeduino-XIAO-Arduino-Microcontroller-SAMD21-Cortex-M0+-p-4426.html) that costs about $5. Please see linked page for flashing and wiring instructions. For quick and easy start, it is possible to [download uf2 image](http://files.seeedstudio.com/wiki/Seeeduino-XIAO/res/simple_daplink_xiao.uf2) and flash it by simply copying it over to XIAO mounted as an external drive. Members of TinyGo community reported successfully using this method to debug XIAO and Arduino Nano 33 IoT boards. * [DYI Picoprobe](https://www.raspberrypi.com/documentation/microcontrollers/raspberry-pi-pico.html#debugging-using-another-raspberry-pi-pico): Is another DIY opensource tool for the Raspberry Pi Pico. It acts as a Serial Wire Debugger (SWD) and UART to usb converter. The Raspberry Pi Pico getting started guide Appendix A page 60 has [instructions to build](https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf) from [source](https://github.com/raspberrypi/picoprobe) or you can download and flash the [UF2 image](https://datasheets.raspberrypi.com/soft/picoprobe.uf2). diff --git a/content/docs/guides/ide-integration/_index.md b/content/docs/guides/ide-integration/_index.md index d5a4acfc..58be5549 100644 --- a/content/docs/guides/ide-integration/_index.md +++ b/content/docs/guides/ide-integration/_index.md @@ -28,7 +28,7 @@ Now you need to configure your IDE with these values. ### Using tinygo-edit -There is a CLI tool called [tinygo-edit](https://github.com/sago35/tinygo-edit) you can use it to Gather the needed build flags and starting the editor using the correct environment variables. Using the CLI you don't need to do the steps manualy. +There is a CLI tool called [tinygo-edit](https://github.com/sago35/tinygo-edit) you can use it to Gather the needed build flags and starting the editor using the correct environment variables. Using the CLI you don't need to do the steps manually. ### Using an alias diff --git a/content/docs/guides/tips-n-tricks.md b/content/docs/guides/tips-n-tricks.md index f43dcf03..f6856c4e 100644 --- a/content/docs/guides/tips-n-tricks.md +++ b/content/docs/guides/tips-n-tricks.md @@ -57,7 +57,7 @@ func (t *MyType) SomeMethod() { } ``` -You may even find yourself having two or more slices pointing at diferent regions of the same array simultaneously, if you are careful. +You may even find yourself having two or more slices pointing at different regions of the same array simultaneously, if you are careful. ``` buf1 := t.buf[:2] diff --git a/content/docs/reference/microcontrollers/machine/arduino-mega1280.md b/content/docs/reference/microcontrollers/machine/arduino-mega1280.md index 27a9964c..27480cc8 100644 --- a/content/docs/reference/microcontrollers/machine/arduino-mega1280.md +++ b/content/docs/reference/microcontrollers/machine/arduino-mega1280.md @@ -1065,7 +1065,7 @@ Transfer writes the byte into the register and returns the read content func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/arduino-mega2560.md b/content/docs/reference/microcontrollers/machine/arduino-mega2560.md index 42ba55ee..3e7efc33 100644 --- a/content/docs/reference/microcontrollers/machine/arduino-mega2560.md +++ b/content/docs/reference/microcontrollers/machine/arduino-mega2560.md @@ -980,7 +980,7 @@ Transfer writes the byte into the register and returns the read content func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/arduino-mkr1000.md b/content/docs/reference/microcontrollers/machine/arduino-mkr1000.md index c709eb20..4007219a 100644 --- a/content/docs/reference/microcontrollers/machine/arduino-mkr1000.md +++ b/content/docs/reference/microcontrollers/machine/arduino-mkr1000.md @@ -513,7 +513,7 @@ func EnableCDC(txHandler func(), rxHandler func([]byte), setupHandler func(usb.S func EnterBootloader() ``` -EnterBootloader should perform a system reset in preperation +EnterBootloader should perform a system reset in preparation to switch to the bootloader to flash new firmware. @@ -1292,7 +1292,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/arduino-mkrwifi1010.md b/content/docs/reference/microcontrollers/machine/arduino-mkrwifi1010.md index 78c2ecc3..e16776d9 100644 --- a/content/docs/reference/microcontrollers/machine/arduino-mkrwifi1010.md +++ b/content/docs/reference/microcontrollers/machine/arduino-mkrwifi1010.md @@ -566,7 +566,7 @@ func EnableCDC(txHandler func(), rxHandler func([]byte), setupHandler func(usb.S func EnterBootloader() ``` -EnterBootloader should perform a system reset in preperation +EnterBootloader should perform a system reset in preparation to switch to the bootloader to flash new firmware. @@ -1345,7 +1345,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/arduino-nano.md b/content/docs/reference/microcontrollers/machine/arduino-nano.md index e135e6e4..44ca206a 100644 --- a/content/docs/reference/microcontrollers/machine/arduino-nano.md +++ b/content/docs/reference/microcontrollers/machine/arduino-nano.md @@ -1030,7 +1030,7 @@ Transfer writes the byte into the register and returns the read content func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/arduino-nano33.md b/content/docs/reference/microcontrollers/machine/arduino-nano33.md index 16bd9da7..f3cf7b14 100644 --- a/content/docs/reference/microcontrollers/machine/arduino-nano33.md +++ b/content/docs/reference/microcontrollers/machine/arduino-nano33.md @@ -589,7 +589,7 @@ func EnableCDC(txHandler func(), rxHandler func([]byte), setupHandler func(usb.S func EnterBootloader() ``` -EnterBootloader should perform a system reset in preperation +EnterBootloader should perform a system reset in preparation to switch to the bootloader to flash new firmware. @@ -1368,7 +1368,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/arduino-zero.md b/content/docs/reference/microcontrollers/machine/arduino-zero.md index d9cff0c1..5c74882c 100644 --- a/content/docs/reference/microcontrollers/machine/arduino-zero.md +++ b/content/docs/reference/microcontrollers/machine/arduino-zero.md @@ -541,7 +541,7 @@ func EnableCDC(txHandler func(), rxHandler func([]byte), setupHandler func(usb.S func EnterBootloader() ``` -EnterBootloader should perform a system reset in preperation +EnterBootloader should perform a system reset in preparation to switch to the bootloader to flash new firmware. @@ -1320,7 +1320,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/arduino.md b/content/docs/reference/microcontrollers/machine/arduino.md index 9624d303..7447e6c8 100644 --- a/content/docs/reference/microcontrollers/machine/arduino.md +++ b/content/docs/reference/microcontrollers/machine/arduino.md @@ -1030,7 +1030,7 @@ Transfer writes the byte into the register and returns the read content func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/atsame54-xpro.md b/content/docs/reference/microcontrollers/machine/atsame54-xpro.md index 0e97602b..becdc58c 100644 --- a/content/docs/reference/microcontrollers/machine/atsame54-xpro.md +++ b/content/docs/reference/microcontrollers/machine/atsame54-xpro.md @@ -1868,7 +1868,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/badger2040.md b/content/docs/reference/microcontrollers/machine/badger2040.md index 087063a1..14a30e9a 100644 --- a/content/docs/reference/microcontrollers/machine/badger2040.md +++ b/content/docs/reference/microcontrollers/machine/badger2040.md @@ -1400,7 +1400,7 @@ Write a single byte and read a single byte from TX/RX FIFO. func (spi SPI) Tx(w, r []byte) (err error) ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/bluepill.md b/content/docs/reference/microcontrollers/machine/bluepill.md index 7d81e5fd..f7e83da7 100644 --- a/content/docs/reference/microcontrollers/machine/bluepill.md +++ b/content/docs/reference/microcontrollers/machine/bluepill.md @@ -1288,7 +1288,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/challenger-rp2040.md b/content/docs/reference/microcontrollers/machine/challenger-rp2040.md index 5f28ddd2..fa4984f4 100644 --- a/content/docs/reference/microcontrollers/machine/challenger-rp2040.md +++ b/content/docs/reference/microcontrollers/machine/challenger-rp2040.md @@ -1439,7 +1439,7 @@ Write a single byte and read a single byte from TX/RX FIFO. func (spi SPI) Tx(w, r []byte) (err error) ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/circuitplay-bluefruit.md b/content/docs/reference/microcontrollers/machine/circuitplay-bluefruit.md index 0177703c..b4eaa816 100644 --- a/content/docs/reference/microcontrollers/machine/circuitplay-bluefruit.md +++ b/content/docs/reference/microcontrollers/machine/circuitplay-bluefruit.md @@ -1326,7 +1326,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. Therefore, if the number of bytes don't match it will be padded until they fit: if len(w) > len(r) the extra bytes received will be diff --git a/content/docs/reference/microcontrollers/machine/circuitplay-express.md b/content/docs/reference/microcontrollers/machine/circuitplay-express.md index 28f4bbb0..5c4b5956 100644 --- a/content/docs/reference/microcontrollers/machine/circuitplay-express.md +++ b/content/docs/reference/microcontrollers/machine/circuitplay-express.md @@ -556,7 +556,7 @@ func EnableCDC(txHandler func(), rxHandler func([]byte), setupHandler func(usb.S func EnterBootloader() ``` -EnterBootloader should perform a system reset in preperation +EnterBootloader should perform a system reset in preparation to switch to the bootloader to flash new firmware. @@ -1335,7 +1335,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/clue.md b/content/docs/reference/microcontrollers/machine/clue.md index 867de428..d0cbf81a 100644 --- a/content/docs/reference/microcontrollers/machine/clue.md +++ b/content/docs/reference/microcontrollers/machine/clue.md @@ -1352,7 +1352,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. Therefore, if the number of bytes don't match it will be padded until they fit: if len(w) > len(r) the extra bytes received will be diff --git a/content/docs/reference/microcontrollers/machine/esp32-coreboard-v2.md b/content/docs/reference/microcontrollers/machine/esp32-coreboard-v2.md index 6a9871d2..33f55560 100644 --- a/content/docs/reference/microcontrollers/machine/esp32-coreboard-v2.md +++ b/content/docs/reference/microcontrollers/machine/esp32-coreboard-v2.md @@ -687,7 +687,7 @@ transfer larger amounts of data, Tx will be faster. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. This is accomplished by sending zero bits if r is bigger than w or discarding the incoming data if w is bigger than r. diff --git a/content/docs/reference/microcontrollers/machine/esp32-mini32.md b/content/docs/reference/microcontrollers/machine/esp32-mini32.md index b4ee52d6..a67b994d 100644 --- a/content/docs/reference/microcontrollers/machine/esp32-mini32.md +++ b/content/docs/reference/microcontrollers/machine/esp32-mini32.md @@ -687,7 +687,7 @@ transfer larger amounts of data, Tx will be faster. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. This is accomplished by sending zero bits if r is bigger than w or discarding the incoming data if w is bigger than r. diff --git a/content/docs/reference/microcontrollers/machine/feather-m0.md b/content/docs/reference/microcontrollers/machine/feather-m0.md index 92321e7f..f45e334e 100644 --- a/content/docs/reference/microcontrollers/machine/feather-m0.md +++ b/content/docs/reference/microcontrollers/machine/feather-m0.md @@ -538,7 +538,7 @@ func EnableCDC(txHandler func(), rxHandler func([]byte), setupHandler func(usb.S func EnterBootloader() ``` -EnterBootloader should perform a system reset in preperation +EnterBootloader should perform a system reset in preparation to switch to the bootloader to flash new firmware. @@ -1317,7 +1317,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/feather-m4-can.md b/content/docs/reference/microcontrollers/machine/feather-m4-can.md index 7a652e92..6de72385 100644 --- a/content/docs/reference/microcontrollers/machine/feather-m4-can.md +++ b/content/docs/reference/microcontrollers/machine/feather-m4-can.md @@ -1724,7 +1724,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/feather-m4.md b/content/docs/reference/microcontrollers/machine/feather-m4.md index 4dcb711a..5bbac691 100644 --- a/content/docs/reference/microcontrollers/machine/feather-m4.md +++ b/content/docs/reference/microcontrollers/machine/feather-m4.md @@ -1412,7 +1412,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/feather-nrf52840-sense.md b/content/docs/reference/microcontrollers/machine/feather-nrf52840-sense.md index 3c1db27f..f8582435 100644 --- a/content/docs/reference/microcontrollers/machine/feather-nrf52840-sense.md +++ b/content/docs/reference/microcontrollers/machine/feather-nrf52840-sense.md @@ -1332,7 +1332,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. Therefore, if the number of bytes don't match it will be padded until they fit: if len(w) > len(r) the extra bytes received will be diff --git a/content/docs/reference/microcontrollers/machine/feather-nrf52840.md b/content/docs/reference/microcontrollers/machine/feather-nrf52840.md index c11d5170..f210a06c 100644 --- a/content/docs/reference/microcontrollers/machine/feather-nrf52840.md +++ b/content/docs/reference/microcontrollers/machine/feather-nrf52840.md @@ -1332,7 +1332,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. Therefore, if the number of bytes don't match it will be padded until they fit: if len(w) > len(r) the extra bytes received will be diff --git a/content/docs/reference/microcontrollers/machine/feather-rp2040.md b/content/docs/reference/microcontrollers/machine/feather-rp2040.md index a41a13a1..90a0633f 100644 --- a/content/docs/reference/microcontrollers/machine/feather-rp2040.md +++ b/content/docs/reference/microcontrollers/machine/feather-rp2040.md @@ -1421,7 +1421,7 @@ Write a single byte and read a single byte from TX/RX FIFO. func (spi SPI) Tx(w, r []byte) (err error) ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/feather-stm32f405.md b/content/docs/reference/microcontrollers/machine/feather-stm32f405.md index 1e058438..1b8667c6 100644 --- a/content/docs/reference/microcontrollers/machine/feather-stm32f405.md +++ b/content/docs/reference/microcontrollers/machine/feather-stm32f405.md @@ -1576,7 +1576,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/grandcentral-m4.md b/content/docs/reference/microcontrollers/machine/grandcentral-m4.md index b98b3f71..bb213ae1 100644 --- a/content/docs/reference/microcontrollers/machine/grandcentral-m4.md +++ b/content/docs/reference/microcontrollers/machine/grandcentral-m4.md @@ -1584,7 +1584,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/hifive1b.md b/content/docs/reference/microcontrollers/machine/hifive1b.md index 1475b038..5c7d16c7 100644 --- a/content/docs/reference/microcontrollers/machine/hifive1b.md +++ b/content/docs/reference/microcontrollers/machine/hifive1b.md @@ -792,7 +792,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/itsybitsy-m0.md b/content/docs/reference/microcontrollers/machine/itsybitsy-m0.md index 8be74d38..53e85316 100644 --- a/content/docs/reference/microcontrollers/machine/itsybitsy-m0.md +++ b/content/docs/reference/microcontrollers/machine/itsybitsy-m0.md @@ -559,7 +559,7 @@ func EnableCDC(txHandler func(), rxHandler func([]byte), setupHandler func(usb.S func EnterBootloader() ``` -EnterBootloader should perform a system reset in preperation +EnterBootloader should perform a system reset in preparation to switch to the bootloader to flash new firmware. @@ -1338,7 +1338,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/itsybitsy-m4.md b/content/docs/reference/microcontrollers/machine/itsybitsy-m4.md index 9c141bd2..93813fc9 100644 --- a/content/docs/reference/microcontrollers/machine/itsybitsy-m4.md +++ b/content/docs/reference/microcontrollers/machine/itsybitsy-m4.md @@ -1408,7 +1408,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/itsybitsy-nrf52840.md b/content/docs/reference/microcontrollers/machine/itsybitsy-nrf52840.md index 45a118dd..d0acd88d 100644 --- a/content/docs/reference/microcontrollers/machine/itsybitsy-nrf52840.md +++ b/content/docs/reference/microcontrollers/machine/itsybitsy-nrf52840.md @@ -1326,7 +1326,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. Therefore, if the number of bytes don't match it will be padded until they fit: if len(w) > len(r) the extra bytes received will be diff --git a/content/docs/reference/microcontrollers/machine/lgt92.md b/content/docs/reference/microcontrollers/machine/lgt92.md index 025297b5..8db173d8 100644 --- a/content/docs/reference/microcontrollers/machine/lgt92.md +++ b/content/docs/reference/microcontrollers/machine/lgt92.md @@ -1187,7 +1187,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/lorae5.md b/content/docs/reference/microcontrollers/machine/lorae5.md index aa9b3240..51e72a48 100644 --- a/content/docs/reference/microcontrollers/machine/lorae5.md +++ b/content/docs/reference/microcontrollers/machine/lorae5.md @@ -1132,7 +1132,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/m5stack-core2.md b/content/docs/reference/microcontrollers/machine/m5stack-core2.md index 6d50d03f..c3e3c064 100644 --- a/content/docs/reference/microcontrollers/machine/m5stack-core2.md +++ b/content/docs/reference/microcontrollers/machine/m5stack-core2.md @@ -690,7 +690,7 @@ transfer larger amounts of data, Tx will be faster. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. This is accomplished by sending zero bits if r is bigger than w or discarding the incoming data if w is bigger than r. diff --git a/content/docs/reference/microcontrollers/machine/m5stack.md b/content/docs/reference/microcontrollers/machine/m5stack.md index 64b3471e..05f88924 100644 --- a/content/docs/reference/microcontrollers/machine/m5stack.md +++ b/content/docs/reference/microcontrollers/machine/m5stack.md @@ -703,7 +703,7 @@ transfer larger amounts of data, Tx will be faster. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. This is accomplished by sending zero bits if r is bigger than w or discarding the incoming data if w is bigger than r. diff --git a/content/docs/reference/microcontrollers/machine/m5stamp-c3.md b/content/docs/reference/microcontrollers/machine/m5stamp-c3.md index 912ca253..df602e49 100644 --- a/content/docs/reference/microcontrollers/machine/m5stamp-c3.md +++ b/content/docs/reference/microcontrollers/machine/m5stamp-c3.md @@ -684,7 +684,7 @@ transfer larger amounts of data, Tx will be faster. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. This is accomplished by sending zero bits if r is bigger than w or discarding the incoming data if w is bigger than r. diff --git a/content/docs/reference/microcontrollers/machine/macropad-rp2040.md b/content/docs/reference/microcontrollers/machine/macropad-rp2040.md index eb51bc82..2d992b51 100644 --- a/content/docs/reference/microcontrollers/machine/macropad-rp2040.md +++ b/content/docs/reference/microcontrollers/machine/macropad-rp2040.md @@ -1425,7 +1425,7 @@ Write a single byte and read a single byte from TX/RX FIFO. func (spi SPI) Tx(w, r []byte) (err error) ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/maixbit.md b/content/docs/reference/microcontrollers/machine/maixbit.md index f9f95218..0fc39b6b 100644 --- a/content/docs/reference/microcontrollers/machine/maixbit.md +++ b/content/docs/reference/microcontrollers/machine/maixbit.md @@ -1146,7 +1146,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/matrixportal-m4.md b/content/docs/reference/microcontrollers/machine/matrixportal-m4.md index 24cd4231..70320b27 100644 --- a/content/docs/reference/microcontrollers/machine/matrixportal-m4.md +++ b/content/docs/reference/microcontrollers/machine/matrixportal-m4.md @@ -1524,7 +1524,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/metro-m4-airlift.md b/content/docs/reference/microcontrollers/machine/metro-m4-airlift.md index 1570cbe9..40dca526 100644 --- a/content/docs/reference/microcontrollers/machine/metro-m4-airlift.md +++ b/content/docs/reference/microcontrollers/machine/metro-m4-airlift.md @@ -1468,7 +1468,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/microbit.md b/content/docs/reference/microcontrollers/machine/microbit.md index c9ff6aa7..672e2f4d 100644 --- a/content/docs/reference/microcontrollers/machine/microbit.md +++ b/content/docs/reference/microcontrollers/machine/microbit.md @@ -999,7 +999,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/nano-33-ble.md b/content/docs/reference/microcontrollers/machine/nano-33-ble.md index 34545c99..38747c76 100644 --- a/content/docs/reference/microcontrollers/machine/nano-33-ble.md +++ b/content/docs/reference/microcontrollers/machine/nano-33-ble.md @@ -1327,7 +1327,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. Therefore, if the number of bytes don't match it will be padded until they fit: if len(w) > len(r) the extra bytes received will be diff --git a/content/docs/reference/microcontrollers/machine/nano-rp2040.md b/content/docs/reference/microcontrollers/machine/nano-rp2040.md index 9dd69747..0cff9273 100644 --- a/content/docs/reference/microcontrollers/machine/nano-rp2040.md +++ b/content/docs/reference/microcontrollers/machine/nano-rp2040.md @@ -1469,7 +1469,7 @@ Write a single byte and read a single byte from TX/RX FIFO. func (spi SPI) Tx(w, r []byte) (err error) ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/nicenano.md b/content/docs/reference/microcontrollers/machine/nicenano.md index 2b80b36d..e10d7201 100644 --- a/content/docs/reference/microcontrollers/machine/nicenano.md +++ b/content/docs/reference/microcontrollers/machine/nicenano.md @@ -1302,7 +1302,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. Therefore, if the number of bytes don't match it will be padded until they fit: if len(w) > len(r) the extra bytes received will be diff --git a/content/docs/reference/microcontrollers/machine/nrf52840-mdk-usb-dongle.md b/content/docs/reference/microcontrollers/machine/nrf52840-mdk-usb-dongle.md index 0d8548d4..f673089d 100644 --- a/content/docs/reference/microcontrollers/machine/nrf52840-mdk-usb-dongle.md +++ b/content/docs/reference/microcontrollers/machine/nrf52840-mdk-usb-dongle.md @@ -1267,7 +1267,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. Therefore, if the number of bytes don't match it will be padded until they fit: if len(w) > len(r) the extra bytes received will be diff --git a/content/docs/reference/microcontrollers/machine/nrf52840-mdk.md b/content/docs/reference/microcontrollers/machine/nrf52840-mdk.md index 748b6ef3..c73eaa54 100644 --- a/content/docs/reference/microcontrollers/machine/nrf52840-mdk.md +++ b/content/docs/reference/microcontrollers/machine/nrf52840-mdk.md @@ -1257,7 +1257,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. Therefore, if the number of bytes don't match it will be padded until they fit: if len(w) > len(r) the extra bytes received will be diff --git a/content/docs/reference/microcontrollers/machine/nucleo-f103rb.md b/content/docs/reference/microcontrollers/machine/nucleo-f103rb.md index 89ff894f..99de1d57 100644 --- a/content/docs/reference/microcontrollers/machine/nucleo-f103rb.md +++ b/content/docs/reference/microcontrollers/machine/nucleo-f103rb.md @@ -1226,7 +1226,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/nucleo-l031k6.md b/content/docs/reference/microcontrollers/machine/nucleo-l031k6.md index 1b7f6859..86894fc5 100644 --- a/content/docs/reference/microcontrollers/machine/nucleo-l031k6.md +++ b/content/docs/reference/microcontrollers/machine/nucleo-l031k6.md @@ -1128,7 +1128,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/nucleo-l432kc.md b/content/docs/reference/microcontrollers/machine/nucleo-l432kc.md index 7c3b4d59..5d7150c2 100644 --- a/content/docs/reference/microcontrollers/machine/nucleo-l432kc.md +++ b/content/docs/reference/microcontrollers/machine/nucleo-l432kc.md @@ -1250,7 +1250,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/nucleo-wl55jc.md b/content/docs/reference/microcontrollers/machine/nucleo-wl55jc.md index 269e3357..23da5991 100644 --- a/content/docs/reference/microcontrollers/machine/nucleo-wl55jc.md +++ b/content/docs/reference/microcontrollers/machine/nucleo-wl55jc.md @@ -1123,7 +1123,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/p1am-100.md b/content/docs/reference/microcontrollers/machine/p1am-100.md index 41c3f24f..e2bc2b36 100644 --- a/content/docs/reference/microcontrollers/machine/p1am-100.md +++ b/content/docs/reference/microcontrollers/machine/p1am-100.md @@ -583,7 +583,7 @@ func EnableCDC(txHandler func(), rxHandler func([]byte), setupHandler func(usb.S func EnterBootloader() ``` -EnterBootloader should perform a system reset in preperation +EnterBootloader should perform a system reset in preparation to switch to the bootloader to flash new firmware. @@ -1362,7 +1362,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/particle-argon.md b/content/docs/reference/microcontrollers/machine/particle-argon.md index 72fd2933..74052ee1 100644 --- a/content/docs/reference/microcontrollers/machine/particle-argon.md +++ b/content/docs/reference/microcontrollers/machine/particle-argon.md @@ -1337,7 +1337,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. Therefore, if the number of bytes don't match it will be padded until they fit: if len(w) > len(r) the extra bytes received will be diff --git a/content/docs/reference/microcontrollers/machine/particle-boron.md b/content/docs/reference/microcontrollers/machine/particle-boron.md index 8aa08dc6..23ad09b3 100644 --- a/content/docs/reference/microcontrollers/machine/particle-boron.md +++ b/content/docs/reference/microcontrollers/machine/particle-boron.md @@ -1340,7 +1340,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. Therefore, if the number of bytes don't match it will be padded until they fit: if len(w) > len(r) the extra bytes received will be diff --git a/content/docs/reference/microcontrollers/machine/particle-xenon.md b/content/docs/reference/microcontrollers/machine/particle-xenon.md index 815ea556..95adeeae 100644 --- a/content/docs/reference/microcontrollers/machine/particle-xenon.md +++ b/content/docs/reference/microcontrollers/machine/particle-xenon.md @@ -1322,7 +1322,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. Therefore, if the number of bytes don't match it will be padded until they fit: if len(w) > len(r) the extra bytes received will be diff --git a/content/docs/reference/microcontrollers/machine/pca10031.md b/content/docs/reference/microcontrollers/machine/pca10031.md index bcb4fd94..445b8dba 100644 --- a/content/docs/reference/microcontrollers/machine/pca10031.md +++ b/content/docs/reference/microcontrollers/machine/pca10031.md @@ -947,7 +947,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/pca10040.md b/content/docs/reference/microcontrollers/machine/pca10040.md index 8782f608..55d84cc4 100644 --- a/content/docs/reference/microcontrollers/machine/pca10040.md +++ b/content/docs/reference/microcontrollers/machine/pca10040.md @@ -1089,7 +1089,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. Therefore, if the number of bytes don't match it will be padded until they fit: if len(w) > len(r) the extra bytes received will be diff --git a/content/docs/reference/microcontrollers/machine/pca10056.md b/content/docs/reference/microcontrollers/machine/pca10056.md index 337588a5..55322758 100644 --- a/content/docs/reference/microcontrollers/machine/pca10056.md +++ b/content/docs/reference/microcontrollers/machine/pca10056.md @@ -1291,7 +1291,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. Therefore, if the number of bytes don't match it will be padded until they fit: if len(w) > len(r) the extra bytes received will be diff --git a/content/docs/reference/microcontrollers/machine/pca10059.md b/content/docs/reference/microcontrollers/machine/pca10059.md index 12ce4a76..4769a032 100644 --- a/content/docs/reference/microcontrollers/machine/pca10059.md +++ b/content/docs/reference/microcontrollers/machine/pca10059.md @@ -1281,7 +1281,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. Therefore, if the number of bytes don't match it will be padded until they fit: if len(w) > len(r) the extra bytes received will be diff --git a/content/docs/reference/microcontrollers/machine/pico.md b/content/docs/reference/microcontrollers/machine/pico.md index ba6fd6f7..b37f1d59 100644 --- a/content/docs/reference/microcontrollers/machine/pico.md +++ b/content/docs/reference/microcontrollers/machine/pico.md @@ -1422,7 +1422,7 @@ Write a single byte and read a single byte from TX/RX FIFO. func (spi SPI) Tx(w, r []byte) (err error) ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/pinetime-devkit0.md b/content/docs/reference/microcontrollers/machine/pinetime-devkit0.md index 524d291a..6970380c 100644 --- a/content/docs/reference/microcontrollers/machine/pinetime-devkit0.md +++ b/content/docs/reference/microcontrollers/machine/pinetime-devkit0.md @@ -938,7 +938,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. Therefore, if the number of bytes don't match it will be padded until they fit: if len(w) > len(r) the extra bytes received will be diff --git a/content/docs/reference/microcontrollers/machine/pybadge.md b/content/docs/reference/microcontrollers/machine/pybadge.md index c6caa8f3..ac36a920 100644 --- a/content/docs/reference/microcontrollers/machine/pybadge.md +++ b/content/docs/reference/microcontrollers/machine/pybadge.md @@ -1502,7 +1502,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/pygamer.md b/content/docs/reference/microcontrollers/machine/pygamer.md index 4afacc0e..22cd81a2 100644 --- a/content/docs/reference/microcontrollers/machine/pygamer.md +++ b/content/docs/reference/microcontrollers/machine/pygamer.md @@ -1453,7 +1453,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/pyportal.md b/content/docs/reference/microcontrollers/machine/pyportal.md index 82562abc..47c03706 100644 --- a/content/docs/reference/microcontrollers/machine/pyportal.md +++ b/content/docs/reference/microcontrollers/machine/pyportal.md @@ -1481,7 +1481,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/qtpy-rp2040.md b/content/docs/reference/microcontrollers/machine/qtpy-rp2040.md index 370d32be..0f7fc703 100644 --- a/content/docs/reference/microcontrollers/machine/qtpy-rp2040.md +++ b/content/docs/reference/microcontrollers/machine/qtpy-rp2040.md @@ -1432,7 +1432,7 @@ Write a single byte and read a single byte from TX/RX FIFO. func (spi SPI) Tx(w, r []byte) (err error) ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/qtpy.md b/content/docs/reference/microcontrollers/machine/qtpy.md index d361cc89..16cc431a 100644 --- a/content/docs/reference/microcontrollers/machine/qtpy.md +++ b/content/docs/reference/microcontrollers/machine/qtpy.md @@ -543,7 +543,7 @@ func EnableCDC(txHandler func(), rxHandler func([]byte), setupHandler func(usb.S func EnterBootloader() ``` -EnterBootloader should perform a system reset in preperation +EnterBootloader should perform a system reset in preparation to switch to the bootloader to flash new firmware. @@ -1322,7 +1322,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/reelboard.md b/content/docs/reference/microcontrollers/machine/reelboard.md index 756c24b6..560743ac 100644 --- a/content/docs/reference/microcontrollers/machine/reelboard.md +++ b/content/docs/reference/microcontrollers/machine/reelboard.md @@ -1295,7 +1295,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. Therefore, if the number of bytes don't match it will be padded until they fit: if len(w) > len(r) the extra bytes received will be diff --git a/content/docs/reference/microcontrollers/machine/stm32f4disco.md b/content/docs/reference/microcontrollers/machine/stm32f4disco.md index 46694701..7b60192f 100644 --- a/content/docs/reference/microcontrollers/machine/stm32f4disco.md +++ b/content/docs/reference/microcontrollers/machine/stm32f4disco.md @@ -1449,7 +1449,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/swan.md b/content/docs/reference/microcontrollers/machine/swan.md index b1076cea..8a47b204 100644 --- a/content/docs/reference/microcontrollers/machine/swan.md +++ b/content/docs/reference/microcontrollers/machine/swan.md @@ -1200,7 +1200,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/teensy40.md b/content/docs/reference/microcontrollers/machine/teensy40.md index 1869f768..cb34c696 100644 --- a/content/docs/reference/microcontrollers/machine/teensy40.md +++ b/content/docs/reference/microcontrollers/machine/teensy40.md @@ -1332,7 +1332,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/thingplus-rp2040.md b/content/docs/reference/microcontrollers/machine/thingplus-rp2040.md index ab6a76a1..7c96d3f5 100644 --- a/content/docs/reference/microcontrollers/machine/thingplus-rp2040.md +++ b/content/docs/reference/microcontrollers/machine/thingplus-rp2040.md @@ -1438,7 +1438,7 @@ Write a single byte and read a single byte from TX/RX FIFO. func (spi SPI) Tx(w, r []byte) (err error) ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/trinket-m0.md b/content/docs/reference/microcontrollers/machine/trinket-m0.md index ba1d96b7..e4db5b10 100644 --- a/content/docs/reference/microcontrollers/machine/trinket-m0.md +++ b/content/docs/reference/microcontrollers/machine/trinket-m0.md @@ -529,7 +529,7 @@ func EnableCDC(txHandler func(), rxHandler func([]byte), setupHandler func(usb.S func EnterBootloader() ``` -EnterBootloader should perform a system reset in preperation +EnterBootloader should perform a system reset in preparation to switch to the bootloader to flash new firmware. @@ -1308,7 +1308,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/trinkey-qt2040.md b/content/docs/reference/microcontrollers/machine/trinkey-qt2040.md index 4a42ae04..6a188c48 100644 --- a/content/docs/reference/microcontrollers/machine/trinkey-qt2040.md +++ b/content/docs/reference/microcontrollers/machine/trinkey-qt2040.md @@ -1378,7 +1378,7 @@ Write a single byte and read a single byte from TX/RX FIFO. func (spi SPI) Tx(w, r []byte) (err error) ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/tufty2040.md b/content/docs/reference/microcontrollers/machine/tufty2040.md index 79bfddae..3dac2b12 100644 --- a/content/docs/reference/microcontrollers/machine/tufty2040.md +++ b/content/docs/reference/microcontrollers/machine/tufty2040.md @@ -1409,7 +1409,7 @@ Write a single byte and read a single byte from TX/RX FIFO. func (spi SPI) Tx(w, r []byte) (err error) ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/waveshare-rp2040-zero.md b/content/docs/reference/microcontrollers/machine/waveshare-rp2040-zero.md index 6c33af23..0cb5f12f 100644 --- a/content/docs/reference/microcontrollers/machine/waveshare-rp2040-zero.md +++ b/content/docs/reference/microcontrollers/machine/waveshare-rp2040-zero.md @@ -1435,7 +1435,7 @@ Write a single byte and read a single byte from TX/RX FIFO. func (spi SPI) Tx(w, r []byte) (err error) ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/wioterminal.md b/content/docs/reference/microcontrollers/machine/wioterminal.md index d0afe84a..39357228 100644 --- a/content/docs/reference/microcontrollers/machine/wioterminal.md +++ b/content/docs/reference/microcontrollers/machine/wioterminal.md @@ -1706,7 +1706,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/x9pro.md b/content/docs/reference/microcontrollers/machine/x9pro.md index 4e392d9e..cf872d78 100644 --- a/content/docs/reference/microcontrollers/machine/x9pro.md +++ b/content/docs/reference/microcontrollers/machine/x9pro.md @@ -1048,7 +1048,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. Therefore, if the number of bytes don't match it will be padded until they fit: if len(w) > len(r) the extra bytes received will be diff --git a/content/docs/reference/microcontrollers/machine/xiao-ble.md b/content/docs/reference/microcontrollers/machine/xiao-ble.md index ef46da85..fdd0f4e0 100644 --- a/content/docs/reference/microcontrollers/machine/xiao-ble.md +++ b/content/docs/reference/microcontrollers/machine/xiao-ble.md @@ -1326,7 +1326,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. Therefore, if the number of bytes don't match it will be padded until they fit: if len(w) > len(r) the extra bytes received will be diff --git a/content/docs/reference/microcontrollers/machine/xiao-rp2040.md b/content/docs/reference/microcontrollers/machine/xiao-rp2040.md index b6082f9c..683d881c 100644 --- a/content/docs/reference/microcontrollers/machine/xiao-rp2040.md +++ b/content/docs/reference/microcontrollers/machine/xiao-rp2040.md @@ -1422,7 +1422,7 @@ Write a single byte and read a single byte from TX/RX FIFO. func (spi SPI) Tx(w, r []byte) (err error) ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/machine/xiao.md b/content/docs/reference/microcontrollers/machine/xiao.md index e0e18ec6..129aa636 100644 --- a/content/docs/reference/microcontrollers/machine/xiao.md +++ b/content/docs/reference/microcontrollers/machine/xiao.md @@ -544,7 +544,7 @@ func EnableCDC(txHandler func(), rxHandler func([]byte), setupHandler func(usb.S func EnterBootloader() ``` -EnterBootloader should perform a system reset in preperation +EnterBootloader should perform a system reset in preparation to switch to the bootloader to flash new firmware. @@ -1323,7 +1323,7 @@ Transfer writes/reads a single byte using the SPI interface. func (spi SPI) Tx(w, r []byte) error ``` -Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read +Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read interface, there must always be the same number of bytes written as bytes read. The Tx method knows about this, and offers a few different ways of calling it. diff --git a/content/docs/reference/microcontrollers/nano-33-ble.md b/content/docs/reference/microcontrollers/nano-33-ble.md index 400ca9b3..328dcc90 100644 --- a/content/docs/reference/microcontrollers/nano-33-ble.md +++ b/content/docs/reference/microcontrollers/nano-33-ble.md @@ -118,7 +118,7 @@ Instructions needed here. Nordic Semiconductor's SoftDevice (s140v7) must be flashed first to enable use of [bluetooth](https://github.com/tinygo-org/bluetooth) on this board. -SoftDevice overwrites original bootloader and flashing method described above is not avalable anymore. +SoftDevice overwrites original bootloader and flashing method described above is not available anymore. Instead, please use [debug]({{}}) probe and flash your code with `nano-33-ble-s140v7` target. diff --git a/content/docs/reference/microcontrollers/wioterminal.md b/content/docs/reference/microcontrollers/wioterminal.md index d3eb4a70..f556a08d 100644 --- a/content/docs/reference/microcontrollers/wioterminal.md +++ b/content/docs/reference/microcontrollers/wioterminal.md @@ -150,5 +150,5 @@ tinygo flash -target=wioterminal [PATH TO YOUR PROGRAM] Once you have updated your Wio Terminal board the first time, after that you should be able to flash it entirely from the command line. ## Notes -If your Linux Distro doesnt auto mount devices you have to manually mount it to /media/Arduino for the command above to work. +If your Linux Distro doesn't auto mount devices you have to manually mount it to /media/Arduino for the command above to work. You can use the USB port to the Wio Terminal as a serial port. `UART0` refers to this connection. diff --git a/content/docs/reference/usage/basic.md b/content/docs/reference/usage/basic.md index 417e2812..de1606fe 100644 --- a/content/docs/reference/usage/basic.md +++ b/content/docs/reference/usage/basic.md @@ -22,7 +22,7 @@ To build and then flash a basic blink program for a micro:bit board: - Plug your micro:bit into your computer's USB port. - The micro:bit board will appear to your computer like a USB drive. Determine the path to the board, for example on Linux it will be something like `/media/[USERNAME]/[NAME OF THE BOARD]`. -- Run the following command, substituing the correct name for the board from the previous step: +- Run the following command, substituting the correct name for the board from the previous step: ```shell tinygo build -o=/media/[USERNAME]/[NAME OF THE BOARD]/flash.hex -target=microbit examples/microbit-blink @@ -35,7 +35,7 @@ The top-left pixel of the built-in LED matrix on the micro:bit board should star To build and then flash a basic blink program for an Arduino Uno, - Plug in the board to your computer's USB port. -- Run the following command, specifiying the serial port if needed. (It defaults to `/dev/ttyACM0` as that is the default port on Linux.) +- Run the following command, specifying the serial port if needed. (It defaults to `/dev/ttyACM0` as that is the default port on Linux.) ```shell tinygo flash -target=arduino -port=[PORT] examples/blinky1 @@ -50,7 +50,7 @@ To build and then flash a basic blink program for an Circuit Playground Express, - Plug your Circuit Playground Express into your computer's USB port. - Press the "RESET" button on the board two times to get the Circuit Playground Express board ready to receive code. If you just received the board, it will be running MakeCode, so press the "RESET" button just once. Either way, the NeoPixel LEDs should turn all green. - The Circuit Playground Express board will appear to your computer like a USB drive. Determine the path to the board, for example on Linux it will be something like `/media/[USERNAME]/[NAME OF THE BOARD]`. -- Run the following command, substituing the correct name for the board from the previous step: +- Run the following command, substituting the correct name for the board from the previous step: ```shell tinygo build -o=/media/[USERNAME]/[NAME OF THE BOARD]/flash.uf2 -target=circuitplay-express examples/blinky1 diff --git a/content/docs/reference/usage/misc-options.md b/content/docs/reference/usage/misc-options.md index f20325cb..90c679b4 100644 --- a/content/docs/reference/usage/misc-options.md +++ b/content/docs/reference/usage/misc-options.md @@ -24,7 +24,7 @@ Note: while there is some support for debug symbols, only line numbers have been ``` - `full` - Try to determine per package how much space is used. Note that these calculations are merely guesses and can somethimes be way off due to various reasons like inlining: + Try to determine per package how much space is used. Note that these calculations are merely guesses and can sometimes be way off due to various reasons like inlining: ``` code rodata data bss | flash ram | package 876 0 4 0 | 880 4 | (bootstrap)