Are there any code examples available that show how to use the ram retention while shutting down the processor to it's lowest power consumption mode? Also does anyone have recommendations on the best way to measure and log the very low current drawn by these types of devices?