| Commit message (Collapse) | Author | Files | Lines | ||
|---|---|---|---|---|---|
| 2021-08-15 | feat(timer): external timer support #97 | Uri Shaked | 1 | -16/+50 | |
| also refactor timer/GPIO interaction to be more generic. close #97 | |||||
| 2021-07-07 | fix(timer): only set ICR hook for 16-bit timers | Uri Shaked | 1 | -3/+3 | |
| The ICR (Input Capture Register) only exists for 16-bit timers. | |||||
| 2021-06-19 | fix(timer): Timer1 PWM issues #94 | Uri Shaked | 1 | -2/+2 | |
| close #94 | |||||
| 2020-12-29 | fix(timer): delay() is inaccurate #81 | Uri Shaked | 1 | -8/+1 | |
| fix #81 | |||||
| 2020-12-27 | fix(timer): Output Compare in PWM modes #78 | Uri Shaked | 1 | -56/+110 | |
| close #78 | |||||
| 2020-12-26 | fix(timer): Overflow interrupt fires twice #80 | Uri Shaked | 1 | -1/+5 | |
| fix #80 | |||||
| 2020-12-25 | fix(timer): Output Compare sometimes misses Compare Match #79 | Uri Shaked | 1 | -6/+14 | |
| fix #79 | |||||
| 2020-12-21 | fix(timer): Output Compare issue #74 | Uri Shaked | 1 | -4/+5 | |
| output compare doesn't work when the OCR register (OCRnA/OCRnB) equals to 0 fix #74 | |||||
| 2020-12-20 | fix(timer): TOV flag does not update correctly #75 | Uri Shaked | 1 | -17/+21 | |
| fix #75 | |||||
| 2020-12-20 | fix(timer): OCR values should be buffered #76 | Uri Shaked | 1 | -6/+33 | |
| fix #76 | |||||
| 2020-12-12 | fix(timer): Incorrect count when stopping a timer | Uri Shaked | 1 | -14/+21 | |
| fix #72 | |||||
| 2020-12-09 | perf!: centeral timekeeping | Uri Shaked | 1 | -5/+25 | |
| 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-09 | refactor: central interrupt handling #38 | Uri Shaked | 1 | -36/+42 | |
| 2020-11-14 | feat: Support for simulating ATtinyx5 (e.g. ATtiny85) timers #64 | Uri Shaked | 1 | -12/+33 | |
| close #64 | |||||
| 2020-11-14 | fix: AVRTimerConfig interface not exported #65 | Uri Shaked | 1 | -1/+1 | |
| close #65 | |||||
| 2020-09-02 | perf(timer): speed up interrupt handling | Uri Shaked | 1 | -1/+4 | |
| 2020-09-02 | perf(timer): improve timer speed | Uri Shaked | 1 | -2/+5 | |
| cache the value of the clock divider | |||||
| 2020-08-01 | fix(timer): keeps counting even when stopped #41 | Uri Shaked | 1 | -0/+2 | |
| 2020-05-25 | perf(timer): improve tick() performance | Uri Shaked | 1 | -3/+4 | |
| reduce the number of calls to TIFR/TIMSK getters | |||||
| 2020-05-25 | feat(timer): Compare Match Output (#45) | Uri Shaked | 1 | -32/+141 | |
| 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 | |||||
| 2020-05-04 | fix(timer): stop Timer 2 when all CS bits are 0 | Uri Shaked | 1 | -1/+1 | |
| close #44 | |||||
| 2020-04-29 | fix(timer): Reading TCNT in 2-cycle instructions | Uri Shaked | 1 | -0/+1 | |
| close #40 | |||||
| 2020-04-28 | fix(timer): incorrect high counter byte behavior | Uri Shaked | 1 | -23/+19 | |
| 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 | |||||
| 2020-04-27 | style: reformat code with prettier 2.x | Uri Shaked | 1 | -10/+10 | |
| prettier rules have changed since we upgraded to 2.x | |||||
| 2020-04-27 | fix(timer): Timer value should not increment on the same cycle as TCNTn write | Uri Shaked | 1 | -2/+8 | |
| close #36 | |||||
| 2020-04-12 | test(timer): add more 16-bit timer tests | Uri Shaked | 1 | -10/+10 | |
| also fix some issues found by @gfeun and the tests | |||||
| 2020-04-12 | feat(timer): implement 16-bit timers | Uri Shaked | 1 | -23/+130 | |
| e.g. Timer/Counter1 on ATmega328 | |||||
| 2020-03-22 | refactor: added peripherals and cpu feature folders | lironh | 1 | -2/+2 | |
| 2019-12-07 | refactor: tslint → eslint | Uri Shaked | 1 | -2/+2 | |
| 2019-11-30 | fix: Wrong prescaler for Timer2 | Uri Shaked | 1 | -5/+30 | |
| fix #5 | |||||
| 2019-11-30 | feat: Output Compare for Timers | Uri Shaked | 1 | -6/+78 | |
| close #4 | |||||
| 2019-11-21 | feat: initial timer implementation | Uri Shaked | 1 | -0/+147 | |
| 8-bit timers basic functionality + tests: 1. basic counting + prescaler 2. timer overflow 3. timer overflow interrupt | |||||
