Fix HW_PULL_UP/DOWN macro.
First pass implementing logic for target with new sensor. Also implemented intermodule config/halt.