raw/ifpga/base: introduce sensor functions