ChibiOS/RT
2.5.1
HAL
Collaboration diagram for HAL:

Detailed Description

Hardware Abstraction Layer.

Under ChibiOS/RT the set of the various device driver interfaces is called the HAL subsystem: Hardware Abstraction Layer. The HAL is the abstract interface between ChibiOS/RT application and hardware.

HAL Device Drivers Architecture

A device driver is usually split in two layers:

Diagram

dot_inline_dotgraph_1.png

Modules

 Configuration
 

HAL Driver Configuration.


 Abstract I/O Channels
 Abstract I/O Block Device
 MMC/SD Block Devices common ancestor
 HAL Driver
 

Hardware Abstraction Layer.


 PAL Driver
 

I/O Ports Abstraction Layer.


 SPI Driver
 

Generic SPI Driver.


 Serial Driver
 

Generic Serial Driver.