!
}else if(READ_PERI_REG(0x3ff00020)&BIT9){ //bit7: I2S interrupt
}
Espressif
idx++;
}
system_os_post(USER_TASK_PRIO_1,MOSI,0);// send the
reception completed message
GPIO_OUTPUT_SET(0, 1);
set to be 1
SET_PERI_REG_MASK(SPI_SLAVE(HSPI),
SPI_SLV_WR_BUF_DONE_EN);
//master reads, slave sends the processing program
if(regvalue&SPI_SLV_RD_BUF_DONE){
GPIO_OUTPUT_SET(2, 0);
}
7. SPI Wi-Fi Passthrough 2-Interrupt Mode
//GPIO2 set to be 0
45 86
!
/!
//GPIO0
2016.05
Need help?
Do you have a question about the ESP8266 and is the answer not in the manual?
Questions and answers