| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | test: migrate tests from jest to vitest | Uri Shaked | 2025-02-11 | 1 | -13/+14 |
| | | |||||
| * | fix(timer): Phase Correct mode overruns #119 | Uri Shaked | 2022-03-22 | 1 | -0/+52 |
| | | |||||
| * | fix(timer): OCRH masking #117 | Uri Shaked | 2022-02-21 | 1 | -0/+11 |
| | | |||||
| * | fix(timer): setting TCNT doesn't update OCRA #111 | Uri Shaked | 2021-10-29 | 1 | -0/+36 |
| | | |||||
| * | feat(timer): Force Output Compare (FOC) bits | Uri Shaked | 2021-10-07 | 1 | -5/+64 |
| | | |||||
| * | feat(timer): 3rd output compare (OCRnC) #96 | Uri Shaked | 2021-09-14 | 1 | -0/+74 |
| | | |||||
| * | feat(timer): external timer support #97 | Uri Shaked | 2021-08-15 | 1 | -45/+76 |
| | | | | | | | also refactor timer/GPIO interaction to be more generic. close #97 | ||||
| * | fix(timer): Timer1 PWM issues #94 | Uri Shaked | 2021-06-19 | 1 | -0/+22 |
| | | | | | close #94 | ||||
| * | fix(timer): delay() is inaccurate #81 | Uri Shaked | 2020-12-29 | 1 | -13/+25 |
| | | | | | fix #81 | ||||
| * | fix(timer): Output Compare in PWM modes #78 | Uri Shaked | 2020-12-27 | 1 | -2/+214 |
| | | | | | close #78 | ||||
| * | fix(timer): Overflow interrupt fires twice #80 | Uri Shaked | 2020-12-26 | 1 | -6/+40 |
| | | | | | fix #80 | ||||
| * | fix(timer): Output Compare sometimes misses Compare Match #79 | Uri Shaked | 2020-12-25 | 1 | -0/+31 |
| | | | | | fix #79 | ||||
| * | fix(timer): Output Compare issue #74 | Uri Shaked | 2020-12-21 | 1 | -6/+23 |
| | | | | | | | output compare doesn't work when the OCR register (OCRnA/OCRnB) equals to 0 fix #74 | ||||
| * | fix(timer): TOV flag does not update correctly #75 | Uri Shaked | 2020-12-20 | 1 | -3/+35 |
| | | | | | fix #75 | ||||
| * | fix(timer): OCR values should be buffered #76 | Uri Shaked | 2020-12-20 | 1 | -5/+92 |
| | | | | | fix #76 | ||||
| * | fix(timer): Incorrect count when stopping a timer | Uri Shaked | 2020-12-12 | 1 | -4/+20 |
| | | | | | fix #72 | ||||
| * | perf!: centeral timekeeping | Uri Shaked | 2020-12-09 | 1 | -115/+97 |
| | | | | | | | | | | 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 #38 | Uri Shaked | 2020-12-09 | 1 | -0/+58 |
| | | |||||
| * | feat: Support for simulating ATtinyx5 (e.g. ATtiny85) timers #64 | Uri Shaked | 2020-11-14 | 1 | -0/+27 |
| | | | | | close #64 | ||||
| * | perf(timer): improve timer speed | Uri Shaked | 2020-09-02 | 1 | -9/+12 |
| | | | | | cache the value of the clock divider | ||||
| * | fix(timer): keeps counting even when stopped #41 | Uri Shaked | 2020-08-01 | 1 | -36/+49 |
| | | |||||
| * | test(timer): use TestProgramRunner | Uri Shaked | 2020-08-01 | 1 | -130/+123 |
| | | |||||
| * | test(timer): remove stray console.log | Uri Shaked | 2020-07-16 | 1 | -1/+0 |
| | | |||||
| * | test(timer): extract constants | Uri Shaked | 2020-05-30 | 1 | -133/+185 |
| | | | | | This makes the test code easier to follow | ||||
| * | feat(timer): Compare Match Output (#45) | Uri Shaked | 2020-05-25 | 1 | -14/+144 |
| | | | | | | The Compare Match Output bits are used to generate hardware PWM signals on selected MCU pins. This is also the mechanism used by Arduino's analogWrite() method. See #32 for more details | ||||
| * | fix(timer): Reading TCNT in 2-cycle instructions | Uri Shaked | 2020-04-29 | 1 | -4/+22 |
| | | | | | close #40 | ||||
| * | fix(timer): incorrect high counter byte behavior | Uri Shaked | 2020-04-28 | 1 | -23/+70 |
| | | | | | | | According to the datasheet, the value of the high byte of the counter for 16-bit timers (such as timer 1) is only updated when the low byte is being read/written. close #37 | ||||
| * | style: reformat code with prettier 2.x | Uri Shaked | 2020-04-27 | 1 | -1/+1 |
| | | | | | prettier rules have changed since we upgraded to 2.x | ||||
| * | fix(timer): Timer value should not increment on the same cycle as TCNTn write | Uri Shaked | 2020-04-27 | 1 | -0/+40 |
| | | | | | close #36 | ||||
| * | test(timer): add more 16-bit timer tests | Uri Shaked | 2020-04-12 | 1 | -3/+46 |
| | | | | | also fix some issues found by @gfeun and the tests | ||||
| * | feat(timer): implement 16-bit timers | Uri Shaked | 2020-04-12 | 1 | -1/+18 |
| | | | | | e.g. Timer/Counter1 on ATmega328 | ||||
| * | refactor: added peripherals and cpu feature folders | lironh | 2020-03-22 | 1 | -0/+204 |
