2.3.1.3. Hardware Spinlocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 2.3.1.4. Inter-processor FIFOs (Mailboxes). ...
SPINLOCK spin_lock_t* spinlock; uint32_t spinirq_state #endif int write_dma_chan; dma__config _dma_chan_config; int readdma_chan; dma_channelconfig read_dma_chan_config #if (PSRAM_ASYNC) int async_dma_chan; dma_channel_config async...
spi.spinlock = spin_lock_init(spin_id); #endif gpio_set_drive_strength(PSRAM_PIN_CS, GPIO_DRIVE_STRENGTH_2MA); gpio_set_drive_strength(PSRAM_PIN_SCK, GPIO_DRIVE_STRENGTH_2MA); gpio_set_drive_strength(PSRAM_PIN_MOSI, GPIO_DRIVE_STRENGTH_2MA); ...
adc2_spinlock should be acquired first, then adc2_wifi_lock or rtc_spinlock.In order to use ADC2 for other functions, we have to acquire complicated firmware locks and very difficult to do So, it's not advisable to use ADC2 with WiFi/BlueTooth (BT/BLE). Use ADC1, and pins GPIO32-GPIO...
Since conversions are short (about 31us), app returns the lock very soon, we use a spinlock to stand there waiting to do conversions one by one. adc2_spinlock should be acquired first, then adc2_wifi_lock or rtc_spinlock.In order to use ADC2 for other functions, we have to acquire ...
Since conversions are short (about 31us), app returns the lock very soon, we use a spinlock to stand there waiting to do conversions one by one. adc2_spinlock should be acquired first, then adc2_wifi_lock or rtc_spinlock.In order to use ADC2 for other functions, we have to acquire ...