4 Class B Library for tinyAVR® 1-series

The purpose of the library is to simplify the design of safe and reliable applications based on the tinyAVR® 1-series microcontrollers. Further, this library has been certified to simplify the design and certification processes for our customers.

The library has been developed to be flexible enough to embed the self-test modules in many different applications. The user is responsible to configure and use it so that the application complies with IEC 60730 Class B standard.

The library code supports the AVR GCC compiler and IAR™. A number of examples have been included in order to show how the self-diagnostic routines can be embedded in a user application.

The source code of the library has been prepared for automatic documentation generation with Doxygen (www.doxygen.org). This documentation complements the information provided in this document.

The source code does not rely on Atmel START code. Some of the code requires configuration of peripherals that may be different from how they will be set to run in the application. Not all these configurations will be reset after the tests are complete. In some of the tests, a function has been added to reset any changed registers. This is not necessary to use, but it can serve as an overview of which registers are left altered after a test.

The test examples are compiled and tested on the ATTINY817 Xplained PRO with an OLED1 Xplained connected to the EXT1 header, to provide buttons and status LEDs.