MCAL (Microcontroller Abstraction Layer)
The following page content corresponds to the products marketed in Japan.
If you do not live in Japan, please
MCAL (Microcontroller Abstraction Layer)
MCAL is a software module that directly accesses on-chip MCU peripheral modules and external devices that are mapped to memory, and makes the upper software layer independent of the MCU.
Details of the MCAL software module are shown below.
V850 MCAL Block Diagram

Description of MCAL Software Module
| Module group | Module | Explanation |
|---|---|---|
| Microcontroller Drivers | GPT Driver | GPT (General Purpose Timer) Driver GPT device driver using on-chip MCU timer WDG (Watchdog) Driver |
| WDG Driver | WDG (Watchdog) Driver On-chip WDG device driver Initializes WDG, performs WDG mode settings, etc. | |
| MCU Driver | MCU (Micro Controller Unit) Driver Device driver that performs MCU settings Initializes clock, performs power mode settings | |
| Memory Drivers | FLS Driver | FLS(Flash) Driver Flash driver Initializes FLS, reads/writes to FLS memory |
| FEE Driver | FEE (Flash EEPROM) Driver Flash EEPROM emulation driver Initializes FEE, reads/writes to FEE memory | |
| Communication Drivers | SPI Handler/Driver | SPI (Serial Peripheral Interface) Handler/Driver Device driver for on-chip clock serial function Initializes SPI, performs SPI input/output and SPI I/O buffer settings |
| LIN Driver | LIN (Local Interconnected network) Driver LIN driver Initializes LIN, performs LIN input/output | |
| CAN Driver | CAN (Controller Area Network) Driver CAN driver Initializes CAN, performs CAN input/output | |
| FlexRay Driver | FlexRay Driver FlexRay driver Initializes FlexRay, performs FlexRay input/output | |
| I/O Drivers | ICU Driver | ICU (Input Capture Unit) Driver ICU device driver using on-chip MCU timer Initializes ICU, measures PWM waveforms, etc. |
| PWM Driver | PWM (Pulse Width Modulation) Driver PWM device driver using on-chip MCU timer Initializes PWM, outputs PWM waveforms, etc. | |
| ADC Driver | ADC (Analog Digital Converter) Driver Device driver for on-chip ADC Initializes ADC, starts/stops AD conversion, sets AD conversion result buffer, reads AD conversion results, etc. | |
| DIO Driver | DIO (Digital Input/Output) Driver MCU port device driver Performs port signal input/output, etc. | |
| PORT Driver | PORT Driver MCU port device driver Performs MCU pin settings (I/O, shared functions) |
Japan English
