commonsys-intf: display: Add SmoMo mode interface

Add interfaces which allow users to get and set SmoMo
mode.

Change-Id: I2e0adb367cf17421dd69bf4cbcaa568dc3d3f1fb
This commit is contained in:
Yujun Zhang
2019-11-18 20:32:26 +08:00
committed by Ray Zhang
parent e0138f512a
commit 9c2955c53f

View File

@@ -32,10 +32,16 @@
#ifndef __SMOMO_CONFIG_H__
#define __SMOMO_CONFIG_H__
#include <cstdint>
namespace smomoconfig {
int EnableSmomo(bool enable);
int GetSmomoMode(uint32_t *mode_idx);
int SetSmomoMode(uint32_t mode_idx);
} // namespace smomoconfig
#endif // __SMOMO_CONFIG_H__