dm_modbus_get_high_byte Function

public pure elemental function dm_modbus_get_high_byte(data) result(value)

Returns high byte from 2-byte integer.

Arguments

Type IntentOptional Attributes Name
integer(kind=u2), intent(in) :: data

Register data.

Return Value character(len=1)