From 8934a7566a038a74464d3d8df9d04fd875e5b1d7 Mon Sep 17 00:00:00 2001 From: lironh Date: Sat, 21 Mar 2020 09:52:53 +0200 Subject: refactor: added peripherals and cpu feature folders --- src/index.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/index.ts') diff --git a/src/index.ts b/src/index.ts index ef0b514..58afde3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,10 +4,10 @@ * Copyright (C) 2019, 2020, Uri Shaked */ -export { CPU, ICPU, CPUMemoryHook, CPUMemoryHooks } from './cpu'; -export { avrInstruction } from './instruction'; -export { avrInterrupt } from './interrupt'; -export { AVRTimer, timer0Config, timer1Config, timer2Config } from './timer'; +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 { AVRIOPort, GPIOListener, @@ -24,6 +24,6 @@ export { portKConfig, portLConfig, PinState -} from './gpio'; -export { AVRUSART, usart0Config } from './usart'; -export * from './twi'; +} from './peripherals/gpio'; +export { AVRUSART, usart0Config } from './peripherals/usart'; +export * from './peripherals/twi'; -- cgit v1.2.3