aboutsummaryrefslogtreecommitdiff
path: root/src/peripherals/usart.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix(usart): tx / rx complete timingUri Shaked2021-07-161-1/+1
| | | | fix the calculation of cyclesPerChar, which is used to determine when a USART RX/TX operation is marked complete.
* feat(usart): add configuration change eventUri Shaked2021-07-151-3/+39
| | | | also add `txEnable` and `rxEnable` properties
* feat(usart): implement RX #11Uri Shaked2021-02-191-5/+58
| | | | close #11
* fix: typo in parameter nameUri Shaked2021-01-021-2/+2
| | | | | freqMHz → freqHz in SPI, TWI, and USART: they all expect the frequency in hertz, not mega-hertz.
* perf!: centeral timekeepingUri Shaked2020-12-091-12/+5
| | | | | | | | | This should improve performance, especially when running simulations with multiple peripherals. For instance, the demo project now runs at ~322%, up from ~185% in AVR8js 0.13.1. BREAKING CHANGE: `tick()` methods were removed from individual peripherals. You now need to call `cpu.tick()` instead.
* refactor: central interrupt handling #38Uri Shaked2020-12-091-17/+30
|
* fix(usart): respect the given baud rate #16Uri Shaked2020-11-271-15/+53
| | | | close #16
* fix(usart): bitsPerChar looking at the wrong registerUri Shaked2020-07-091-1/+1
| | | | close #52
* fix(usart): TXC interrupt triggered incorrectlyUri Shaked2020-07-091-1/+1
| | | | close #51
* style: reformat code with prettier 2.xUri Shaked2020-04-271-1/+1
| | | | prettier rules have changed since we upgraded to 2.x
* refactor: added peripherals and cpu feature folderslironh2020-03-221-0/+134