vcpmonitor4
2.0.0.0
|
VCPMonitor4 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
void | main (void) |
Variables | |
float | current_lsb |
VCPMonitor4 Click example.
This example application showcases ability of Click board to be configured for different readings and read temperature, voltage, current and power.
The demo application is composed of two sections :
Initialization of communication modules (SPI, UART) and additional alert pin. Reads Manufacturer and Device ID, Configurates device for reading all device measurements.
In span of 500ms reads and calculates data for IC temperature, Bus voltage in V, Shunt voltage in mV, and current and power for device.
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
void application_task | ( | void | ) |
void main | ( | void | ) |
float current_lsb |