pub fn validate_mask_write_address(address: u16) -> Result<(), ExceptionCode>Expand description
Validate a mask write register (FC 16) address.
Per spec §6.16 Figure 26 — both AND and OR mask values accept 0x0000–0xFFFF. Only the address is validated at the protocol level.
§Errors
IllegalDataAddressifaddressis not valid (overflows with quantity 1)