aboutsummaryrefslogtreecommitdiff
path: root/src/peripherals/twi.ts (unfollow)
Commit message (Collapse)AuthorFilesLines
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-11/+2
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-15/+15
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
2020-02-03feat(twi): proper interrupt support #10Uri Shaked1-5/+9
2020-01-31test(twi): assembly code to test master transmit #10Uri Shaked1-3/+11
2020-01-30feat(twi): partial TWI master implementation #10Uri Shaked1-0/+188