30 lines
456 B
C
30 lines
456 B
C
/*
|
|
* Copyright (c) 2021-2026 Amlogic, Inc. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#ifndef __PDD_H_
|
|
#define __PDD_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <pdd-data.h>
|
|
|
|
enum PddTriggerLevel {
|
|
LEVEL0_400MV = 0x0,
|
|
LEVEL1_800MV = 0x1,
|
|
LEVEL2_800MV = 0x2,
|
|
LEVEL3_1200MV = 0x3,
|
|
};
|
|
|
|
void vPddInit(enum PddTriggerLevel level, void (*callback)(void));
|
|
void vPddDeinit(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif /* __PDD_H_ */
|