How to put sensor in power down mode

Hi,

I am using Zephyr's sample code of sensors. Sample code is using wrapper function for device initialization, getting  sensor's value etc. But there is no  API exposed(Wrapper function) to put Sensor in power down mode or set registers value.

So my questions are:

      1- Is there any way to put sensor into power down mode by wrapper function?

      2- Is it good to directly use the driver's APIs to configure the sensors instead of generic APIs?

Thanks

Related