Peripheral Management
Apply the block settings and hardware configuration parameters before communicating with the target hardware.
Blocks
| MCAL ADC | Convert analog signal on ADC input pin to digital signal (Since R2026a) |
| MCAL DIO Channel Group Read | Read value of a specified DIO channel group identifier (Since R2026a) |
| MCAL DIO Channel Group Write | Write value to the specified DIO channel group identifier (Since R2026a) |
| MCAL DIO Channel Read | Read logical value of the specified DIO channel identifier (Since R2026a) |
| MCAL DIO Channel Write | Write logical value to a specified DIO channel identifier (Since R2026a) |
| MCAL DIO Port Pins Read | Read logical value from group of pins/channels on a specified port (Since R2026a) |
| MCAL DIO Port Pins Write | Write logical value to groups of pins or individual channels on a specified DIO port (Since R2026a) |
| Hardware Interrupt | Trigger function-call subsystems in response to hardware interrupt events (Since R2026a) |
| TSG3 Output | generates Pulse Width Modulated (PWM) signals on output pins using the TSG3 peripheral (Since R2026a) |
Model Settings
Topics
- What is Sample Time and How Does it Work?
Concept of sample time and its role in simulations.
Featured Examples
Getting Started with MCAL DIO Blocks on Renesas RH850 Microcontrollers
Control a digital output on a Renesas RH850/U2A16 Microcontroller using the AUTOSAR MCAL DIO Channel Write block in Simulink. The example uses an onboard LED to demonstrate how MCAL DIO configuration and model-based design work together to generate, deploy, and run the model on RH850 hardware to drive an LED.
Model-Based BLDC Motor Control on Renesas RH850 U2A Microcontroller Using Simulink
Use the Embedded Coder Support Package for Renesas RH850 Microcontrollers to implement and deploy sensorless Brushless DC (BLDC) motor control on a Renesas RH850 Microcontroller using model-based design in Simulink. You will simulate, generate code, and run both open-loop and closed-loop control strategies, leveraging the Renesas Motor Control Kit.
Using MCAL ADC and Hardware Interrupt Blocks with Renesas RH850 Microcontrollers
Acquire analog signals using the MCAL ADC block in a Simulink® model and process the results using the Hardware Interrupt block on a Renesas RH850/U2A16 starter kit. You can use this approach to generate software-triggered ADC conversions, handle end-of-conversion interrupts, and read multiple ADC channels in real time.
Control Onboard LED7 Brightness Using TSG3 Blocks on Renesas RH850 Microcontrollers
Control the brightness of an onboard LED7 on the Embedded Coder ® Support Package for Renesas® RH850 Microcontrollers by varying the duty cycle of a TSG3 signal generated using TSG3 blocks. The workflow demonstrates how duty-cycle modulation directly affects LED intensity and how AUTOSAR MCAL configuration integrates with a Simulink model for hardware execution.
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)



