メインコンテンツ

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

Analog Output

Generate voltage on the specified analog output pin in volt (V)

R2023a 以降

  • Analog Output block

ライブラリ:
Simulink Coder Support Package for STMicroelectronics Nucleo Boards / Common

Description

The Analog Output block generate voltage on the specified analog out pin in volt (V) on the hardware. The block accepts normalized decimal values in the range 01.

端子

Input

すべて展開する

If the generated voltage equals the ground voltage, the block emits 0. If the generated voltage equals the analog reference voltage, the block emits 1.

Parameters

すべて展開する

Specify the digital pin.

To open the pin mapping table, click View pin map.

Make sure to assign different pin name to the different blocks of your model.

Apart from the pins names mentioned in the pin mapping table, there are other alternate pin names (Px_y_ALTz) that can be used to access other hardware peripherals connected to the same pin. To know more, refer to .

The alternate pin names are only applicable for Simulink® Coder™ Support Package for STMicroelectronics® Nucleo Boards and Discovery boards.

拡張機能

すべて展開する

C/C++ コード生成
Simulink® Coder™ を使用して C および C++ コードを生成します。

バージョン履歴

R2023a で導入