NXP Hal provides a write API on DigitalOut::write() that asserts if pin
is NC and we try to perform an operation on it. This behaviour is not
consistent among various Hals in Mbed-OS. However, we now check the pin
ourselves in the driver just like 1276.
NXP Hal provides a write API on DigitalOut::write() that asserts if pin is NC and we try to perform an operation on it. This behaviour is not consistent among various Hals in Mbed-OS. However, we now check the pin ourselves in the driver just like 1276.