aboutsummaryrefslogtreecommitdiff
path: root/src/peripherals/gpio.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix(gpio): INT0 broken on ATtiny85Uri Shaked2023-01-051-18/+21
| | | | make the ISCx0/ISCx1 bit offsets part of the `AVRExternalInterrupt` configuration object.
* feat(usi): ATtiny85 USI implementationUri Shaked2022-05-171-2/+5
|
* fix(gpio): CBI/SBI handling in writes to PIN register #103Uri Shaked2021-09-071-2/+2
| | | | fix #103
* feat(timer): external timer support #97Uri Shaked2021-08-151-30/+42
| | | | | | also refactor timer/GPIO interaction to be more generic. close #97
* fix(gpio): timer outputs not reflected in PIN register #102Uri Shaked2021-08-131-7/+9
| | | | fix #102
* fix(gpio): PWM may leaves pins in high stateUri Shaked2021-08-091-0/+1
| | | | Disabling PWM when a GPIO pin is high will cause the pin to get stuck in high state.
* feat(gpio): external interrupt/PCINT support (#82)Uri Shaked2021-07-071-6/+274
| | | close #70, #84
* fix(gpio): Changing pinMode from `INPUT` to `INPUT_PULLUP` doesn't trigger ↵Uri Shaked2020-10-071-1/+1
| | | | | | listeners close #62
* fix(gpio): port state not updated on DDR writeUri Shaked2020-05-291-0/+2
| | | | | | Calling `pinState()` inside a GPIO port listener returns incorrect values after changing DDR close #47
* feat(timer): Compare Match Output (#45)Uri Shaked2020-05-251-11/+53
| | | | | 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
* feat(gpio): add setPin() functionUri Shaked2020-05-101-0/+20
| | | | close #26
* style: reformat code with prettier 2.xUri Shaked2020-04-271-12/+12
| | | | prettier rules have changed since we upgraded to 2.x
* fix: GPIO port listeners not invoked when writing to DDR registersUri Shaked2020-04-021-0/+4
| | | | close #28
* refactor: added peripherals and cpu feature folderslironh2020-03-221-0/+149