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