From 1e07529b9b9a72a66ed424282903f36cb7dfec48 Mon Sep 17 00:00:00 2001 From: Stefan Rueger Date: Fri, 19 May 2023 17:51:23 +0100 Subject: [PATCH] Document 0b binary integers and files for terminal write command --- src/doc/avrdude.texi | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/src/doc/avrdude.texi b/src/doc/avrdude.texi index 28431294..39ed2274 100644 --- a/src/doc/avrdude.texi +++ b/src/doc/avrdude.texi @@ -1741,7 +1741,7 @@ access will also have flash and EEPROM directly accessed without cache. Items @var{data} can have the following formats: -@multitable @columnfractions .3 .4 .3 +@multitable @columnfractions .25 .4 .25 @item @strong{Type} @tab @strong{Example} @tab @strong{Size (bytes)} @@ -1750,30 +1750,50 @@ Items @var{data} can have the following formats: @tab @code{"Hello, world\n"} @tab varying +@item File +@tab @code{C:/My\ projects/blink.hex} +@tab varying + +@item File with format +@tab @code{blink.hex:i} +@tab varying + @item Character @tab @code{'A'} @tab 1 -@item Decimal integer -@tab 12345 +@item Binary integer +@tab 0b101010 @tab 1, 2, 4, or 8 @item Octal integer @tab 012345 @tab 1, 2, 4, or 8 +@item Decimal integer +@tab 12345 +@tab 1, 2, 4, or 8 + @item Hexadecimal integer @tab 0x12345 @tab 1, 2, 4, or 8 -@item Float +@item Decimal float @tab 3.1415926 @tab 4 -@item Double +@item Hexadecimal float +@tab 0xA.8p2 +@tab 4 + +@item Decimal double @tab 3.141592653589793D @tab 8 +@item Hexadecimal double +@tab 0xA.8p2D +@tab 8 + @end multitable @var{data}