currentlimit
2.0.0.0
|
Current Limit Click is a compact add-on board that contains a low-voltage, P-channel MOSFET power switch intended for high-side load switching applications. This board features the MAX890L, a low-resistance power switch with the adjustable, accurate current limit system, and thermal shutdown from Maxim Integrated.
We provide a library for the CurrentLimit Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for CurrentLimit Click driver.
currentlimit_cfg_setup
Config Object Initialization function. currentlimit_init
Initialization function. currentlimit_dev_enable
Device enable function. currentlimit_set_limit
Set Current With Predefined Values Limit function. currentlimit_set_limit_calc
Set Calculated Current Limit function. This example shows capabilities of Current Limit Click board.
The demo application is composed of two sections :
Initalizes SPI driver and enables the device.
Reading users input from USART terminal and using it as an index for an array of pre-calculated values that define current limit level.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.