aboutsummaryrefslogtreecommitdiff
path: root/src/peripherals/spi.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat(spi): add `onByte` callbackUri Shaked2021-10-301-11/+34
| | | | | | a more versatile alternative to the `onTransfer` callback. Depracate `onTransfer()`.
* fix(spi): setting SPIE doesn't fire pending interruptUri Shaked2021-10-221-0/+3
|
* style(spi): remove redundant whitespace from commentsUri Shaked2021-08-071-2/+2
|
* 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-10/+12
| | | | | | | | | 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-12/+18
|
* style(spi): remove redundant eslint commentsUri Shaked2020-08-221-2/+0
|
* feat(spi): implement SPI master #33Uri Shaked2020-08-221-0/+129
close #33