MakeWord/developers

From Wiring

Jump to: navigation, search
This page is intended as a reference for core developers only, and the content is only changed after a consensus has been reached through discussion of any such changes. Please use the Discussion page to talk about any changes or issues you have with the current implementation.
makeWord()
Classification Math Methods
Suggested location WMath.h
C++ required No
Timing constraints None
Version introduced 1.0 (0100)
Framework dependencies None
Prototype(s)
uint16_t makeWord(uint8_t highByte, uint8_t lowByte)
Required? Yes
Issues None


Contents

Description

The makeWord command returns the word value resulting of setting the given high and low bytes.

Black Box Input

The higher and the lower byte values are provided.

Black Box Output

The word value resulting of setting the given high and low bytes is returned.

Overloading

None. Single signature only.

Notes

A word is a variable made of 16 bits (or 2 bytes).

Proposed Changes

Personal tools