diff options
author | Tormod Volden <debian.tormod@gmail.com> | 2021-02-12 20:29:52 +0100 |
---|---|---|
committer | Tormod Volden <debian.tormod@gmail.com> | 2021-02-12 20:41:50 +0100 |
commit | eb7948336145b55d2745f21fd7df37eec248ded1 (patch) | |
tree | 0a39f8748ab5900a668bdb0d55b858a2cbc821ab | |
parent | c995a612be6efbcaa703b842d567c679caf2ad10 (diff) |
man page: Minor adjustments in GPIO examples
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
-rw-r--r-- | stm32flash.1 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stm32flash.1 b/stm32flash.1 index 67de2ee..459681d 100644 --- a/stm32flash.1 +++ b/stm32flash.1 @@ -245,7 +245,7 @@ the '&' delimiter adds no delay. An empty signal, thus repeated ',' delimiters, can be used to insert larger delays in multiples of 100 ms. E.g. "rts,,,,\-dtr" will set RTS, then wait 400 ms, then reset DTR. -"rts&\-dtr" will set RTS and reset DTR without delay. You can use ',' delimiters +"rts&\-dtr" will set RTS and reset DTR without delay. You can use ',' delimiters alone to simply add a delay between opening port and starting to flash. .DP .P @@ -255,7 +255,7 @@ If -R is specified, but no exit sequence, a software-triggered reset will be performed. .PD 0 -As example, let's suppose the following connection between host and STM32: +As an example, let's suppose the following connection between host and STM32: .IP \(bu 2 host GPIO_3 connected to reset pin of STM32; .IP \(bu 2 @@ -284,7 +284,7 @@ STM32W uses pad PA5 to select boot mode; if during reset PA5 is "low" then STM32W will enter in bootloader mode; if PA5 is "high" it will execute the program in flash. -As example, supposing GPIO_3 connected to PA5 and GPIO_2 to STM32W's reset. +As an example, suppose GPIO_3 is connected to PA5 and GPIO_2 to STM32W's reset. The command: .PD 0 .RS @@ -296,9 +296,9 @@ entry sequence: GPIO_3=low, GPIO_2=low, 100 ms delay, GPIO_2=high .IP \(bu 2 exit sequence: GPIO_3=high, GPIO_2=low, 300 ms delay, GPIO_2=high .PD +.P - -GPIO sequence to bring delays on start after port opening. +Another example, introducing a delay after port opening. The command: .PD 0 .RS |