unsigned char analog_read(unsigned char addr)
This function serves to analog register read.
void lpc_set_input_chn(LPC_Input_Channel_TypeDef pin)
This function selects input channel for low power comparator .
void lpc_set_scaling_coeff(LPC_Scaling_TypeDef divider)
This function serves to set scaling_coefficient for low power comparator .
void lpc_power_down(void)
This function powers down low power comparator.
LPC_Input_Channel_TypeDef
Define the input channel for Low power comparator.
Definition: lpc.h:45
LPC_Mode_TypeDef
Define the mode for Low power comparator.
Definition: lpc.h:37
void lpc_power_on(void)
This function provides power for low power comparator.
LPC_Reference_TypeDef
Define the reference voltage for Low power comparator.
Definition: lpc.h:59
static unsigned char lpc_get_result(void)
This function serves to get the comparison results.
Definition: lpc.h:130
LPC_Scaling_TypeDef
Define the scaling coefficient for Low power comparator.
Definition: lpc.h:82
void lpc_set_input_ref(LPC_Mode_TypeDef, LPC_Reference_TypeDef ref)
This function selects input reference voltage for low power comparator .