aboutsummaryrefslogtreecommitdiff
path: root/src/index.ts
blob: f4ac3aad1326d7b7729d1d222c6b5134166612a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**
 * AVR8js
 *
 * Copyright (C) 2019, 2020, Uri Shaked
 */

export { CPU, ICPU, CPUMemoryHook, CPUMemoryHooks } from './cpu/cpu';
export { avrInstruction } from './cpu/instruction';
export { avrInterrupt } from './cpu/interrupt';
export {
  AVRTimer,
  AVRTimerConfig,
  timer0Config,
  timer1Config,
  timer2Config,
} from './peripherals/timer';
export {
  AVRIOPort,
  GPIOListener,
  AVRPortConfig,
  portAConfig,
  portBConfig,
  portCConfig,
  portDConfig,
  portEConfig,
  portFConfig,
  portGConfig,
  portHConfig,
  portJConfig,
  portKConfig,
  portLConfig,
  PinState,
} from './peripherals/gpio';
export { AVRUSART, usart0Config } from './peripherals/usart';
export {
  AVREEPROM,
  AVREEPROMConfig,
  EEPROMBackend,
  EEPROMMemoryBackend,
  eepromConfig,
} from './peripherals/eeprom';
export * from './peripherals/twi';
export { spiConfig, SPIConfig, SPITransferCallback, AVRSPI } from './peripherals/spi';
export { AVRClock, AVRClockConfig, clockConfig } from './peripherals/clock';