aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/index.ts8
-rw-r--r--src/peripherals/timer.ts2
2 files changed, 8 insertions, 2 deletions
diff --git a/src/index.ts b/src/index.ts
index 0795ab3..d02718a 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -7,7 +7,13 @@
export { CPU, ICPU, CPUMemoryHook, CPUMemoryHooks } from './cpu/cpu';
export { avrInstruction } from './cpu/instruction';
export { avrInterrupt } from './cpu/interrupt';
-export { AVRTimer, timer0Config, timer1Config, timer2Config } from './peripherals/timer';
+export {
+ AVRTimer,
+ AVRTimerConfig,
+ timer0Config,
+ timer1Config,
+ timer2Config,
+} from './peripherals/timer';
export {
AVRIOPort,
GPIOListener,
diff --git a/src/peripherals/timer.ts b/src/peripherals/timer.ts
index 5ba908e..5c211ba 100644
--- a/src/peripherals/timer.ts
+++ b/src/peripherals/timer.ts
@@ -43,7 +43,7 @@ interface TimerDividers {
7: number;
}
-interface AVRTimerConfig {
+export interface AVRTimerConfig {
bits: 8 | 16;
captureInterrupt: u8;
compAInterrupt: u8;
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.