Home
last modified time | relevance | path

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

/AliOS-Things-master/hardware/chip/rtl872xd/hal/
A Duart.c56 static aos_spinlock_t uart0_lock = { KRHINO_SPINLOCK_FREE_VAL, }; variable
58 static aos_spinlock_t uart0_lock; variable
77 flags = aos_spin_lock_irqsave(&uart0_lock); in uart0_rx_buffer_produce()
88 aos_spin_unlock_irqrestore(&uart0_lock, flags); in uart0_rx_buffer_produce()
98 flags = aos_spin_lock_irqsave(&uart0_lock); in uart0_rx_buffer_consume()
108 aos_spin_unlock_irqrestore(&uart0_lock, flags); in uart0_rx_buffer_consume()

Completed in 3 milliseconds