1.1 Class B Peripheral Library Introduction

The Class B Library provides APIs to perform self-tests for the on-board systems of the microcontroller.

Terms and Acronyms

AcronymDescription
APIApplication Programming Interface.
AAPCSThe Procedure Call Standard for the ARM Architecture.
DriverDriver is a software which depends on a lower software layer and abstract hardware and Real Time Operating System (RTOS) details for the middleware and applications.
MCCMPLAB® Code Configurator.
MHCMMPLAB® Harmony 3 Content Manager tool.
PCProgram Counter
PLIBPeripheral Library in Harmony 3. A peripheral library contains simple functions to initialize and control peripherals and basic device features.
RSTRun-time Self-test.
RSTCReset Controller peripheral on the microcontroller.
RTCReal Time Counter peripheral on the microcontroller.
SSTStartup Self-test.
Startup CodeThe code which runs right after the microcontroller comes out of reset. It contains initialization code for global/static variables and any other basic routines which need to be run before the main() function is called.
SysTickSystem Timer inside the ARM© Cortex M4F core.
WDTWatchdog Timer.

Features Tested by the Class B Library

Following table shows the components tested by the Class B library.

ComponentReference (Table H1 of IEC 60730-1)Fault/ErrorAcceptable Measures
CPU Registers1.1Stuck-atStatic memory test
CPU Program Counter1.3Stuck-atStatic memory test
Interrupts2No interrupt / too frequent interruptFunctional test
CPU Clock3Wrong frequencyFrequency monitoring
Flash4.1All single bit faultsModified checksum
SRAM4.2DC faultStatic memory test
SRAM data path5.1Stuck-atStatic memory test
SRAM data path5.2Wrong addressStatic memory test
Digital I/O7.1Abnormal operationInput comparison or output verification