
// ****************************************************************************
//
//                         Page P - power and energy meter
//
// ****************************************************************************
// U input: PD4, ADC7, input resistors: 2M2 + 220K, input range 0..3V (0..5V) or 0..30V (0..50V), relative error 5%, absolute error 3mV or 30mV
// I input: PD5, ADC5, input resistor: 1ohm/2W, input range 0..1A, minimal measured current 1mA, relative error 5%, absolute error 3mA
// P: minimal measured value 1uW or 10uW.
// ADC clock divider is set to 750kHz. One ADC clock cycle is 1.33us.

#ifndef _PAGE_P_H
#define _PAGE_P_H

#ifdef __cplusplus
extern "C" {
#endif

// Page P (returns key PREV/NEXT)
u8 PageP();

#ifdef __cplusplus
}
#endif

#endif // _PAGE_P_H
