aboutsummaryrefslogtreecommitdiff
path: root/src/peripherals/usart.ts (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-02-11chore(deps): upgrade prettierUri Shaked1-1/+5
reformat all code with the new prettier version
2021-07-17feat(usart): add `immediate` parameter to writeByte()Uri Shaked1-8/+12
The value will be available immediately to the user program instead of waiting one symbol time before making it available.
2021-07-16fix(usart): tx / rx complete timingUri Shaked1-1/+1
fix the calculation of cyclesPerChar, which is used to determine when a USART RX/TX operation is marked complete.
2021-07-15feat(usart): add configuration change eventUri Shaked1-3/+39
also add `txEnable` and `rxEnable` properties
2021-02-19feat(usart): implement RX #11Uri Shaked1-5/+58
close #11
2021-01-02fix: typo in parameter nameUri Shaked1-2/+2
freqMHz → freqHz in SPI, TWI, and USART: they all expect the frequency in hertz, not mega-hertz.
2020-12-09perf!: centeral timekeepingUri Shaked1-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.
2020-12-09refactor: central interrupt handling #38Uri Shaked1-17/+30
2020-11-27fix(usart): respect the given baud rate #16Uri Shaked1-15/+53
close #16
2020-07-09fix(usart): bitsPerChar looking at the wrong registerUri Shaked1-1/+1
close #52
2020-07-09fix(usart): TXC interrupt triggered incorrectlyUri Shaked1-1/+1
close #51
2020-04-27style: reformat code with prettier 2.xUri Shaked1-1/+1
prettier rules have changed since we upgraded to 2.x
2020-03-22refactor: added peripherals and cpu feature folderslironh1-3/+3
2019-12-07refactor: tslint → eslintUri Shaked1-2/+4
2019-12-07feat(usart): add onLineTransmit callbackUri Shaked1-0/+13
2019-12-07test(usart): more USART testsUri Shaked1-1/+1
2019-12-01feat: initial implementation of USARTUri Shaked1-0/+119
#6