]> granicus.if.org Git - esp-idf/commitdiff
soc/gpio: fix description of GPIO_STRAP_REG
authorIvan Grokhotkov <ivan@espressif.com>
Wed, 1 Nov 2017 08:26:59 +0000 (16:26 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Fri, 3 Nov 2017 07:49:09 +0000 (15:49 +0800)
components/soc/esp32/include/soc/gpio_reg.h

index 1f4b08d43d1e9360041b0fde5a41db6f45268082..8168f4ba12b3fb5341ff92cffc393d2459a3eecb 100644 (file)
 
 #define GPIO_STRAP_REG          (DR_REG_GPIO_BASE + 0x0038)
 /* GPIO_STRAPPING : RO ;bitpos:[15:0] ;default:  ; */
-/*description: GPIO strapping results: {2'd0  boot_sel_dig[7:1]  vsdio_boot_sel
-  boot_sel_chip[5:0]}.   Boot_sel_dig[7:1]: {U0RXD  SD_CLK  SD_CMD  SD_DATA0  SD_DATA1  SD_DATA2  SD_DATA3}.  vsdio_boot_sel: MTDI. boot_sel_chip[5:0]: {GPIO0  U0TXD  GPIO2  GPIO4  MTDO  GPIO5}*/
+/*description: {10'b0, MTDI, GPIO0, GPIO2, GPIO4, MTDO, GPIO5} */
 #define GPIO_STRAPPING  0x0000FFFF
 #define GPIO_STRAPPING_M  ((GPIO_STRAPPING_V)<<(GPIO_STRAPPING_S))
 #define GPIO_STRAPPING_V  0xFFFF