Predictable updating of a baud divisor of an asynchronous serial port during data reception
    1.
    发明授权
    Predictable updating of a baud divisor of an asynchronous serial port during data reception 有权
    在数据接收期间可异步串行端口的波特除数的可预测的更新

    公开(公告)号:US06850561B1

    公开(公告)日:2005-02-01

    申请号:US09590353

    申请日:2000-06-08

    IPC分类号: H04L25/45 H04B3/46 H04L23/00

    CPC分类号: H04L25/45

    摘要: A microcontroller employs an asynchronous serial port for predictably updating a baud divisor during data reception. A write enable to the baud counter ensures that the current value of the baud count in the baud counter is greater than a predetermined number of clocks so that the working baud divisor to be loaded from the working baud divisor register is stabilized. The working baud divisor register is updated during data reception by the serial port by a software write to a visible baud divisor register provided the working baud divisor in the working baud divisor register is not being used to load the baud counter. A working baud divisor register thereby maintains a value guaranteed to be stable by the time a baud counter needs to be reloaded. A visible baud divisor register and the baud counter can be on different, possibly asynchronous clocks.

    摘要翻译: 微控制器采用异步串行端口在数据接收期间可预测地更新波特除数。 对波特率计数器的写使能可确保波特率计数器当前的波特率值大于预定数量的时钟,从而工作波特率寄存器中加载的工作波特率被稳定。 如果工作波特率寄存器中的工作波特除数未用于加载波特率计数器,则工作波特率寄存器在数据接收期间通过软件写入可见波特率除数寄存器进行更新。 一个工作波特除数寄存器因此在保持波特率计数器需要重新加载的时间内保持一个保证稳定的值。 可见波特除数寄存器和波特率计数器可以在不同的可能的异步时钟上。