]> granicus.if.org Git - esp-idf/commitdiff
component/esp32 : update wifi library and phy library
authorTian Hao <tianhao@espressif.com>
Wed, 17 May 2017 03:46:53 +0000 (11:46 +0800)
committerTian Hao <tianhao@espressif.com>
Wed, 17 May 2017 03:46:53 +0000 (11:46 +0800)
components/esp32/lib
components/soc/esp32/include/soc/dport_access.h

index 13a8292174f5c89e3bffb1580195a1343f24c70c..a197e872e0d96a0f5f57c7d4babefe2c77db4cf4 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 13a8292174f5c89e3bffb1580195a1343f24c70c
+Subproject commit a197e872e0d96a0f5f57c7d4babefe2c77db4cf4
index e5d49cd9e4d92b38a38dc9badb68e71066ccdd49..6d3b6efc2991458d736fca82e71c8a849e8dab9c 100644 (file)
@@ -20,7 +20,8 @@
 #include "esp_dport_access.h"
 
 //Registers Operation {{
-//Origin access operation for the base and some special scene
+
+//Register read macros with an underscore prefix access DPORT memory directly. In IDF apps, use the non-underscore versions to be SMP-safe.
 #define _DPORT_REG_READ(_r)        (*(volatile uint32_t *)(_r))
 #define _DPORT_REG_WRITE(_r, _v)   (*(volatile uint32_t *)(_r)) = (_v)
 
@@ -75,7 +76,7 @@ static inline uint32_t IRAM_ATTR DPORT_REG_READ(uint32_t reg)
 //generate a value from a field value, used when _f is left shifted by _f##_S
 #define DPORT_FIELD_TO_VALUE2(_f, _v) (((_v)<<_f##_S) & (_f))
 
-//Origin access operation for the base and some special scene
+//Register read macros with an underscore prefix access DPORT memory directly. In IDF apps, use the non-underscore versions to be SMP-safe.
 #define _DPORT_READ_PERI_REG(addr) (*((volatile uint32_t *)(addr))) 
 #define _DPORT_WRITE_PERI_REG(addr, val) (*((volatile uint32_t *)(addr))) = (uint32_t)(val)