currentlimit7 2.0.0.0
|
CurrentLimit7 Click example. More...
Macros | |
#define | CURRENTLIMIT_MODE_500_mA_2500_mA |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
const uint16_t | limit_value_op [14] |
CurrentLimit7 Click example.
This library contains API for the Current Limit 7 Click driver. This driver provides the functions to set the current limiting conditions in order to provide the threshold of the fault conditions.
The demo application is composed of two sections :
Initialization of I2C module and log UART. After driver initialization, default settings turn on the device.
This example demonstrates the use of the Current Limit 7 Click boardâ„¢. Reading user's input from Usart Terminal and using it as an index for an array of pre-calculated values that define the current limit level. Results are being sent to the Usart Terminal, where you can track their changes.
#define CURRENTLIMIT_MODE_500_mA_2500_mA |
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |
const uint16_t limit_value_op[14] |