▼Atmel | |
▼Atmel AVR | |
►Devices | |
►ATmega48A/PA/88A/PA/168A/PA/328/P | Content of the device: |
►ATmega168(P) | |
ATmega168 | |
ATmega168P | |
►ATmega328(P) | |
ATmega328 | |
►ATmega328P | |
ATmega328P-AU | This header file allows using the (pin,number) notation: |
►ATmega48(P) | |
ATmega48 | Header file: |
ATmega48P | |
►ATmega88(P) | |
ATmega88 | Header file: |
ATmega88P | |
ATmega16U4/32U4 | |
►ATtiny24/44/84 | Content of the device: |
►ATtiny24 | Header file: |
ATtiny24A-PU | This header file allows using the (pin,number) notation: |
►ATtiny44 | Header file: |
ATtiny44A-PU | This header file allows using the (pin,number) notation: |
►ATtiny84 | Header file: |
ATtiny84A-PU | This header file allows using the (pin,number) notation: |
►ATtiny25/45/85 | Content of the device: |
►ATtiny25 | Header file: |
ATtiny25-20PU | This header file allows using the (pin,number) notation: |
►ATtiny45 | Header file: |
ATtiny45-20PU | This header file allows using the (pin,number) notation: |
►ATtiny85 | Header file: |
ATtiny85-20PU | This header file allows using the (pin,number) notation: |
►Classes | Classes used by Atmel AVR devices |
Class _aca: analog comparator | A class _aca object is an analog comparator |
Class _acb: analog comparator | A class _acb object is an analog comparator |
Class _ada: 10-bit analog to digital converter | This class is used by: |
Class _adb: 10-bit analog to digital converter | This class is used by: |
Class _adc: 10-bit analog to digital converter | This class is used by: |
Class _corea: core of the device | A class _corea object is a core of the device |
Class _coreb: core of the device | A class _coreb object is a core of the device |
Class _corec: core of the device | A class _corec object is a core of the device |
Class _cta: 8-bit counter with two compare units | This class is used by: |
Class _ctb: 8-bit counter with two compare units and one dead-time generator | This class is used by: |
Class _ctc: 8-bit counter with two compare units | This class is used by: |
Class _ctd: 16-bit counter with two compare units and one capture unit | This class is used by: |
Class _cte: 16-bit counter with three compare units and one capture unit | This is the same as class _ctd except that it handles 3 compare outputs |
Class _dtga: dead time generator | _dtga objects are dead time generators |
Class _eea: EEPROM memory | A class _eea object is an EEPROM memory |
Class _fla: Flash memory | This class is used by: |
Class _gpa: 8-bit I/O port | This class is used in all Atmel AVR devices |
Class _ica: 16-bit capture unit | A class _ica object is a 16-bit capture unit. It has the following relative objects: |
Class _icb: 16-bit capture unit | A class _icb object is a 16-bit capture unit. It has the following relative objects: |
Class _inta: external interrupt controller | A class _inta object is an external interrupt controller |
Class _ioa: General Purpose Input/Output | This class implements a group of consecutive I/O pins inside the same _gpa GPIO port. It handles not-connected pins and triggers an error if such a pin is addressed (but no error is triggered if you access the registers directly) |
Class _ionc: General Purpose Input/Output | A class _ionc object is a not connected pin |
Class _oca: 8-bit compare unit with waveform generator | This class is used by: |
Class _ocb: 8-bit compare unit with waveform generator with complementary outputs | This class is used by: |
Class _occ: 16-bit compare unit with waveform generator | This class is used by: |
Class _psa: clock prescaler | A class _psa object is a resettable clock prescaler connected to the I/O clock |
Class _psb: clock prescaler | A class _psb object is a resettable clock prescaler that can be connected to one of 3 possible clocks: |
Class _pxa: pin change interrupt controller | A class _pxa object is a pin change interrupt controller |
Class _spia: Serial Peripheral Interface | A class _spia object is a Serial Peripheral Interface. It has the following relatives: |
Class _twia: 2-wire interface | This class is used by: |
Class _uarta: Universal Asynchronous serial Receiver Transmitter | This class is used by: |
Class _usia: Universal Serial Interface | A class _usia object is an USI |
Class _usia_spimaster_swclk: software clocked SPI master over USI | A class _usia_spimaster_swclk object is an SPI master clocked by software implemented on top of the USI interface |
Class _wda: watchdog timer | This is used by: |
Class _wdb: watchdog timer | This is used by: |
How to use the provided examples | |
►Development boards | Definitions for the boards used for testing |
Board attiny45 | This is just a ATTINY45-20PU on a breadboard with a USB/Serial adapter and a LED connected at pin #5 (PB0/OC0A). No crystal |
Board attiny84-tcs3200 | This is a ATTINY84A-PU on a breadboard with a USB/Serial adapter, a TCS3200 color detector and 3 LED. No crystal |
Board ATtiny84 | This is just a ATTINY84A-PU on a breadboard with a USB/Serial adapter and a LED connected at pin #7 (PA6/OC1A). No crystal |
Board attiny85-3v3 | This is a single ATTINY85-20PU without crystal on a breadboard with a USB/Serial adapter for 1-wire communication, a LED connected at pin #5 (PB0/OC0A), one analog input pin |
Board ATtiny85 | This is a single ATTINY85-20PU without crystal on a breadboard with a USB/Serial adapter for 1-wire communication, a LED connected at pin #5 (PB0/OC0A), one analog input pin |
Board nanodccduino | This is an Arduino clone board with a MEGA328P-AU microcontroller, a 16 MHz crystal and a CH340 USB/Serial adapter |
Board pro-micro | |
Board pro-mini | |
Diabolo (Diabolo Is A BOot LOader) | |
Miscellaneous | |
▼Espressif | |
▼ESP8266 | |
►Devices | |
ESP8266 | |
►Classes | |
Class _gpa: 16-bit I/O port | A class _gpa object is a 16-bit I/O port |
Class _ioa: General Purpose I/O definition | A class _ioa object is a single or a group of consecutive pins inside the same I/O port |
Class _iob: General Purpose I/O definition | A class _iob object is a single or a group of consecutive pins inside the same I/O port |
Class _pcfa: I/O configurator | Configures the function, direction, and pull-up of an I/O pin |
Class _rtca: RTC | |
Class _tm23a: 23-bit timer | A class _tm23a object is a 23-bit timer |
Class _uarta: Universal Asynchronous serial Receiver Transmitter | A class _uarta object is a UART |
►Development boards | Pre-defined boards used to compile the examples |
ESP-WROOM-02 | |
WeMos D1 | |
▼STMicroelectronics | |
▼STM32 | |
►STM32 Devices | |
►STM32F103 | |
STM32F103C8T6 | Header file: |
STM32F103RBT6 | Header file: |
STM32F103VCT6 | Header file: |
►STM32F411 | |
STM32F411VET6 | Header file: |
►STM32 Classes | |
Class _ada: 12-bit analog to digital converter | This class is used by: |
Class _afioa: AFIO for low-, medium- high- and XL-density devices | |
Class _ahba: AMBA High-performance Bus (AHB) | |
Class _apba: Advanced Peripheral Bus (APB) | |
Class _cca: capture-compare channel | This class is used by: |
Class _cta: General-purpose 16-bit counter-timer | This class is used by: |
Class _ctb: General-purpose 32-bit counter-timer | This class is used by: |
Class _gpa: 16-bit GPIO port | |
Class _gpb: 16-bit GPIO port | |
Class _hsea: HSE oscillator | |
Class _hsia: HSI oscillator | |
Class _ioa: General Purpose Input/Output | _ioa objects are groups of one or more consecutive pins inside the same GPIO port |
Class _iob: General Purpose Input/Output | _iob objects are groups of one or more consecutive pins inside the same port |
Class _nvica: Nested Vectored Interrupt Controller (NVIC) | This class is used by: |
Class _plla: PLL | |
Class _pllb: PLL | |
Class _rcca: Reset and Clock Control (RCC) | This class has no method and no relatives, it is just a collection of registers used by the following objects: |
Class _rccb: Reset and Clock Control (RCC) | This class has no method. It is mainly a collection of registers that are accessed through the following objects: |
Class _sab: Universal Synchronous Asynchronous Receiver Transmitter | |
Class _sclka: SYSCLK | |
Class _stka: SysTick timer (STK) | |
Class _usarta: Universal Synchronous Asynchronous Receiver Transmitter | _usarta objects are universal synchronous asynchronous receivers transmitters |
Class _usba: USB |
hw( write, usbprescaler, value) and hwa( write, usbprescaler, value) set the prescaler: |
►STM32 Development boards | Pre-defined boards used to compile the examples |
Board from www.vcc-gnd.com aka "Blue pill" | There is a STM32F103C8T6 with: |
Board from www.PowerMCU.com | There is a STM32F103RBT6 with: |
ST STM32F411E-DISCO board (MB1115 B02) | There is a STM32F411VET6 (512KB of Flash, 128 KB of RAM) with: |
Faults and events |
hw( enable, faults ) and hw( disable, faults ): |
▼External hardware | External devices that you'll be able to drive using the HWA syntax |
24CXX I²C EEPROM | This is a generic class that implements 24CXX I²C EEPROMs |
HD44780 LCD controller | This class implements a HD44780 LCD controller |
▼PCF8574 8-bit I/O expander for I²C bus | This class implements a PCF8574 8-bit I/O expander for I²C bus |
PCF8574 I/O | |
TCS3200: colour detector | |
▼Software-emulated controllers | Software-emulated controllers can provide features that are not implemented on a target device. Their interface is designed in the hope that they can be used as a drop-in replacement |
Class _swtwimaster: software-emulated TWI (master only) | This class implements a software-emulated TWI master |
Class _swuarta: software-emulated UART | This class implements a software-emulated UART with the following features: |
▼HWA | |
▼Definitions for HWA users. | These definitions can be used in user application code. They may act on various types of arguments. Arguments are checked and explicit error messages are emitted |
►HWA Classes | |
Class _r8: 8-bit hardware register class. | |
Register | A HWA register object is a set of consecutive bits (1 or more). It can correspond to a hardware register or to one or two subsets of one or two hardware registers |
Class _irq: Interrupt Request | Interrupts are HWA objects of class _irq |
▼Definitions for HWA developers | These definitions can be used to add HWA support to a device |
Class _r16 | 16-bit hardware register class |
Class _r32 | 32-bit hardware register class |
Class _cb1 | Class logical register made of one group of consecutive bits |
Class _cb2 | Class logical register made of two groups of consecutive bits |
Class _ob1 | Object logical register made of one group of consecutive bits |
Class _ob2 | Object logical register made of two groups of consecutive bits |
Class _xb1 | Logical register made of one group of consecutive bits in another object |
Class _xb2 | Logical register made of two groups of consecutive bits in another object |
Class _m11 | Memory definition for one group of consecutive bits |
Class _m12 | Memory definition for two groups of consecutive bits at the same address |
Class _m22 | Memory definition for two groups of consecutive bits at two different addresses |
Class _fake | The _fake class accepts all kinds of actions and does nothing at all |
HWA internals | A few notes about how HWA works internally |