Text MAC Address To 64 bit Unsigned

From Visuino
Jump to navigation Jump to search

File:TArduinoTextToMAC.png

Summary

The **Text MAC Address To 64-bit Unsigned** component converts a human-readable MAC address string (e.g., `01:23:45:67:89:AB`) into a 64-bit unsigned integer value. This enables textual MAC addresses to be represented in a numerical format suitable for computation, storage, or comparison.

Description

MAC (Media Access Control) addresses are commonly represented as six octets in hexadecimal, separated by colons or dashes. This component parses the string input, validates its format, and produces a 64-bit unsigned integer. An **Invalid** output pin signals when the input string does not represent a valid MAC address.

Diagram:

Properties

  • Enabled (boolean) – Enables or disables the component.

Pins

Input Pins

  • in (text) – Input MAC address string (e.g., `AA:BB:CC:DD:EE:FF`).

Output Pins

  • out – 64-bit unsigned MAC address output.
  • Invalid (clock) – Triggered if the input text is not a valid MAC address.

Categories