Digital Input

<< Click to Display Table of Contents >>

Navigation:  nRF51 Target > Block References > On-chip Peripherals > IO >

Digital Input

Previous pageReturn to chapter overviewNext page

User Interface

How this block appears in a Simulink model?

nrf51_digital_input_block

What can be configured?

nrf51_digital_input_mask

Configuration item

Selectable option/ Value

Description

Port

0

Port available for selection is 0.

Type (Pull-Up/Pull-Down)

None | Pull UP | Pull Down

The proper option depending external circuit connected to the selected digital input pin.

Use Pin0.x ;where x=0, 1, ..., 31

Checked | Unchecked


Output data type mode

uint8 | boolean


Sample time (sec)

(Specify block sample time)


Demo