This section documents the drivers which form the stable API of the ModusToolbox™ HAL.
In order to remain portable across platforms and HAL versions, applications should rely only on functionality documented in this section.
API Reference | |
ADC (Analog to Digital Converter) | |
High level interface for interacting with the analog to digital converter (ADC). | |
Clock | |
Interface for enabling or disabling the clock and updating the clock frequency. | |
COMP (Analog Comparator) | |
High level interface for interacting with an analog Comparator. | |
DMA (Direct Memory Access) | |
High level interface for interacting with the direct memory access (DMA). | |
GPIO (General Purpose Input Output) | |
High level interface for configuring and interacting with general purpose input/outputs (GPIO). | |
I2C (Inter-Integrated Circuit) | |
High level interface for interacting with the I2C resource. | |
LPTimer (Low-Power Timer) | |
High level interface for interacting with the low-power timer (LPTimer). | |
NVM (Onboard Non-Volatile Memory) | |
High level interface to the onboard Non-Volatile memory (Internal Flash, RRAM, OTP region). | |
PWM (Pulse Width Modulator) | |
High level interface for interacting with the pulse width modulator (PWM) hardware resource. | |
RTC (Real-Time Clock) | |
High level interface for interacting with the real-time clock (RTC). | |
SPI (Serial Peripheral Interface) | |
High level interface for interacting with the Serial Peripheral Interface (SPI). | |
System Power Management | |
Interface for changing power states and restricting when they are allowed. | |
System | |
High level interface for interacting with reset and delays. | |
Timer (Timer/Counter) | |
High level interface for interacting with the Timer/Counter hardware resource. | |
TRNG (True Random Number Generator) | |
High level interface to the True Random Number Generator (TRNG). | |
UART (Universal Asynchronous Receiver-Transmitter) | |
High level interface for interacting with the Universal Asynchronous Receiver-Transmitter (UART). | |