diff options
| author | Uri Shaked | 2019-11-25 22:03:40 +0200 |
|---|---|---|
| committer | Uri Shaked | 2019-11-25 22:03:40 +0200 |
| commit | 9b399811c07cc2ab881abacf6ca35107fc6bc658 (patch) | |
| tree | 4200735eeec384baae148c37cca8d0438e274a67 /src/index.ts | |
| parent | doc: README for demo, explain about running tests (diff) | |
| download | avr8js-9b399811c07cc2ab881abacf6ca35107fc6bc658.tar.gz avr8js-9b399811c07cc2ab881abacf6ca35107fc6bc658.tar.bz2 avr8js-9b399811c07cc2ab881abacf6ca35107fc6bc658.zip | |
feat: GPIO peripheral implementation
Add new AVRIOPort class, implements GPIO output logic
Diffstat (limited to 'src/index.ts')
| -rw-r--r-- | src/index.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/index.ts b/src/index.ts index 94e4ecc..bb3e216 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,3 +2,11 @@ export { CPU, ICPU, ICPUMemoryHook, ICPUMemoryHooks } from './cpu'; export { avrInstruction } from './instruction'; export { avrInterrupt } from './interrupt'; export { AVRTimer, timer0Config, timer1Config, timer2Config } from './timer'; +export { + AVRIOPort, + GPIOListener, + AVRPortConfig, + portBConfig, + portCConfig, + portDConfig +} from './gpio'; |
