A Novel Firmware Architecture leveraging Race to Sleep paradigm for Ultra-Low-Power CPS | IEEE Conference Publication | IEEE Xplore