Home
last modified time | relevance | path

Searched refs:chipid (Results 1 – 2 of 2) sorted by relevance

/hal_atmel-3.6.0/asf/common/components/wifi/winc1500/driver/source/
Dnmasic.c172 static uint32 chipid = 0; in nmi_get_chipid() local
174 if (chipid == 0) { in nmi_get_chipid()
177 if((nm_read_reg_with_ret(0x1000, &chipid)) != M2M_SUCCESS) { in nmi_get_chipid()
178 chipid = 0; in nmi_get_chipid()
185 chipid = 0; in nmi_get_chipid()
189 if (chipid == 0x1002a0) { in nmi_get_chipid()
192 chipid = 0x1002a1; in nmi_get_chipid()
194 } else if(chipid == 0x1002b0) { in nmi_get_chipid()
197 chipid = 0x1002b1; in nmi_get_chipid()
199 chipid = 0x1002b2; in nmi_get_chipid()
[all …]
Dnmspi.c1212 uint32 chipid; in nm_spi_init() local
1249 if (!spi_read_reg(0x1000, &chipid)) { in nm_spi_init()
1254 M2M_DBG("[nmi spi]: chipid (%08x)\n", (unsigned int)chipid); in nm_spi_init()