CS Electrical And Electronics
@cselectricalandelectronics

What is a Microcontroller abstraction?

All QuestionsCategory: ToolsWhat is a Microcontroller abstraction?
chetan s asked 3 years ago

I need short information.

1 Answers
Jeff answered 3 years ago

Access to the hardware is routed through the Microcontroller Abstraction Layer (MCAL) to avoid direct access to microcontroller registers from higher-level software. MCAL is a hardware-specific layer that ensures a standard interface to the components of the Basic Software. It manages the microcontroller peripherals and provides the components of the Basic Software with microcontroller independent values. MCAL implements notification mechanisms to support the distribution of commands, responses, and information to different processes. Among others it can include:
 

  1. Digital I/O (DIO)
  2. Analog/Digital Converter (ADC)
  3. Pulse Width (De)Modulator (PWM, PWD)
  4. EEPROM (EEP)
  5. Flash (FLS)
  6. Capture Compare Unit (CCU)
  7. Watchdog Timer (WDT)
  8. Serial Peripheral Interface (SPI)