Engee documentation

Artery DO

Control of the digital output of the microcontroller.

blockType: CFunction

Path in the library:

/Interfaces/Targets/Artery/Artery DO

Description

To work with the block, install/update the support package. equipment.

Block Artery DO It is used to control the digital output of the microcontroller.

Configuring the AT32 Workbench

  1. In the AT32 Workbench, select the desired GPIO pin.

  2. Set it up as Digital Output:

    artery do gpio output

  3. Generate the project (Generate Code).

Ports

Input

# State — digital output status
scalar

Details
Data types

UInt8

Complex numbers support

No

Parameters

Main group

# Порт: — microcontroller’s GPIO port
A | B | C | D | E | F | G | H

Details
Values

A | B | C | D | E | F | G | H

Default value

D

Program usage name

m_port

Tunable

No

Evaluatable

Yes

# Вывод: — GPIO pin number
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15

Details
Values

0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15

Default value

14

Program usage name

m_output

Tunable

No

Evaluatable

Yes