简介
在多机通信中,一个从机应该只接收它需要接收的数据,或者说只有它收到感兴趣的数据时才去触发中断去通知CPU。否则每次收到数据就触发中断打断一次CPU对从机来说是一种负担。
It is possible to perform multiprocessor communication with the USART (with several
USARTs connected in a network). For instance one of the USARTs can be the master, its TX
output connected to the RX inputs of the other USARTs. The others are slaves, their
respective TX outputs are logically ANDed together and connected to the RX input of the
master.
上图可以实现板级单总线通信,与RS485类似。
静默模式有什么作用?
答:静默模式只对USART的接收电路生效,与发送电路无关,不影响发送功能。如果 USART 处于静默模式,所有的接收