MT2523 API Reference  LinkIt SDK v4
HAL

This section introduces the HAL driver APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, HAL function groups, enums, structures and functions. More...

Overview

This section introduces the HAL driver APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, HAL function groups, enums, structures and functions.

Terms and acronyms

Acronyms Definition
ACCDET Accessory detector
ADC Analog-to-digital converter
AES Advanced Encryption Standard
CMSIS Cortex Microcontroller Software Interface Standard
CTP Capacitive Touch Panel
EINT External interrupt
GDMA General direct memory access
GPC General purpose counter
GPIO General purpose Input Output
GPT General purpose timer
I2C Inter-integrated circuit
I2S Inter-integrated sound
LCD Liquid Crystal Display
LCM LCD Module
MD5 Message-Digest Algorithm
MPU Memory protect unit
PWM Pulse Width Modulation
RTC Real-time clock
SD Secure Digital Memory Card
SDIO Secure Digital Input and Output
SHA Secure Hash Algorithm
SPI Serial Peripheral Interface
UART Universal asynchronous receiver/transmitter
USB Universal Serial Bus
WDT Watchdog timer
TRNG True random number generator

Overview of HAL drivers

HAL Driver Model

Some of the drivers can operate in two modes: polling and interrupt. The UART HAL driver, for example, can operate in polling and interrupt modes during data communication. The polling mode is suitable for read and write operations of small amount of data in low frequency. The interrupt mode is suitable for read and write operations of small amount of data in high frequency. In UART DMA mode, for example, an interrupt is triggered once the DMA is complete.

Modules

 ACCDET
 This section describes the programming interfaces of accessory detector (ACCDET) HAL driver.
 
 ADC
 This section describes the programming interfaces of the ADC HAL driver.
 
 AES
 This section introduces the AES driver APIs including terms and acronyms, supported features, software architecture details on how to use this driver, AES function groups, enums, structures and functions.
 
 AUDIO
 This section introduces the Audio APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, Audio function groups, enums, structures and functions.
 
 CACHE
 This section describes the programming interfaces of the CACHE controller.
 
 CLOCK
 This section introduces the Clock APIs including terms and acronyms, Clock function groups, enums, structures and functions.
 
 DAC
 This section describes the programming interfaces of the Digital-to-Analog Converter(DAC) HAL driver.
 
 DISPLAY_COLOR
 This section introduces the display color APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, display color function groups, all enumerations, structures and functions.
 
 DISPLAY_DSI
 This section introduces the display DSI APIs including terms and acronyms, supported features, software architecture, how to use the APIs, DSI function groups, all enumerations, structures and functions.
 
 DISPLAY_LCD
 This section introduces the LCD APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, LCD function groups, all enumerations, structures and functions.
 
 DISPLAY_PWM
 This section introduces the display PWM APIs including terms and acronyms, supported features, software architecture, details on how to use this API, PWM function groups, all enumerations, structures and functions.
 
 DVFS
 This section introduces the DVFS driver APIs including terms and acronyms, supported features, details on how to use this driver, DVFS function groups, enums, structures and functions.
 
 EINT
 This section introduces the External Interrupt Controller(EINT) APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, EINT function groups, enums, structures and functions.
 
 FLASH
 This section describes the programming interfaces of the FLASH driver.
 
 G2D
 This section introduces the Graphics 2D (G2D) driver APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, G2D Manager function groups, enums, structures and functions.
 
 GDMA
 This section introduces the GDMA APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, General Direct Memeory Access(GDMA) function groups, enums, structures and functions.
 
 GPIO
 This section provides introduction to the General Purpose Input Output(GPIO) APIs, including terms and acronyms, features, architecture, how to use APIs, the GPIO function groups, enums, structures and functions.
 
 GPT
 This section introduces the General Purpose Timer(GPT) driver APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, GPT function groups, enums, structures and functions.
 
 I2C_MASTER
 
 I2S
 This section introduces the I2S APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, I2S function groups, enums, structures and functions.
 
 ISINK
 This section introduces the ISINK APIs including terms and acronyms, supported features, software architecture, how to use this module, ISINK function groups, enums, structures and functions.
 
 KEYPAD
 This section introduces the keypad driver APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, enums, structures and functions.
 
 MPU
 This section describes the programming interfaces of MPU HAL driver.
 
 NVIC
 This section introduces the NVIC HAL APIs including terms and acronyms, details on how to use this driver, supported features, enums, structures and functions.
 
 PWM
 This section introduces the Pulse-Width Modulation(PWM) APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, PWM function groups, enums, structures and functions.
 
 RTC
 This section introduces the Real-Time Clock (RTC) APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, enums, structures and functions.
 
 SD
 This section introduces the Secure Digital Memory Dard/Embedded Multi Media Card(SD/eMMC) APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, SD/eMMC function groups, enums, structures and functions.
 
 SDIO
 This section introduces the SDIO driver APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, SDIO function groups,enums, structures and functions.
 
 SLEEP_MANAGER
 This section introduces the Sleep Manager driver APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, Sleep Manager function groups, enums, structures and functions.
 
 SPI_MASTER
 This section introduces the Serial Peripheral Interface Master(SPI_Master) APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, enums, structures and functions.
 
 SPI_SLAVE
 This section introduces the Serial Periheral Interface(SPI) Slave APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, enums, structures and functions.
 
 TRNG
 This section introduces the True Randam Number Generator(TRNG) APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, TRNG function groups, enums, structures and functions.
 
 UART
 This section introduces the Universal Asynchronous Receiver/Transmitter(UART) APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, UART function groups, enums, structures and functions.
 
 USB
 This section introduces the USB APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, enumerations, structures and functions.
 
 WDT