component/esp32 : update wifi library and phy library

This commit is contained in:
Tian Hao 2017-05-17 11:46:53 +08:00
parent 3d22f1ee2f
commit 52515d0edf
2 changed files with 4 additions and 3 deletions

@ -1 +1 @@
Subproject commit 13a8292174f5c89e3bffb1580195a1343f24c70c
Subproject commit a197e872e0d96a0f5f57c7d4babefe2c77db4cf4

View 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)