USART的串行数 据发送电路主要包括一个发送移位寄存器(TSR)和一个数据发送寄存器(TXREG)。将要 发送的字节的值加载到TXREG寄存器之后,TXREG寄存器就会在下一个指令周期中,被 放到TSR中。
基于12个网页-相关网页
mcontext_t提供了有关在系统出问题时可以找到的所有寄存器值的数据;这些寄存器值可以作为信号发送给这个进程。
McOntext_t provides data about all the register values found in the system at the time of the fault; the register values will in turn be delivered to the process as a signal.
因为大多数设备是分开的CPU总线,慢得多的发送数据跨比写信给CPU寄存器或内存(缓存)。
Because most devices are separated from the CPU by a bus, which is much slower to send data across than it is to write to CPU registers or (cached) memory.
针对这个问题,通过增加发送失败后的处理,提出了在发送失败后自动恢复总线和寄存器状态的改进方法。
To resolve this question, an improved method of automatically resuming the bus and registers after the failure of sending is shown, which mainly adds some processes when the sending is failure.
应用推荐