aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/cpu.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat(timer): Compare Match Output (#45)Uri Shaked2020-05-251-0/+4
| | | | | 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): incorrect high counter byte behaviorUri Shaked2020-04-281-0/+8
| | | | | | 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
* feat(instruction): 22-bit PC support #31Uri Shaked2020-04-091-2/+16
| | | | adapt CALL, ICALL, RCALL, RET, and RETI for MCUs with 22-bit PC
* refactor: added peripherals and cpu feature folderslironh2020-03-221-0/+78