We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: MIKROE
Last Updated: 2019-06-04
Package Version: 1.0.0.0
mikroSDK Library: 1.0.0.0
Category: Buck
Downloaded: 3422 times
Not followed.
License: MIT license
Buck 10 Click is a high-efficiency step-down converter which provides a highly regulated output voltage derived from the connected power source, rated from 4V to 18V.
Do you want to subscribe in order to receive notifications regarding "Buck 10 click" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "Buck 10 click" changes.
Do you want to report abuse regarding "Buck 10 click".
Library Description
This library allows user to perform a control of the Buck 10 Click board. User can drive the control pin (EN) to turn ON/OFF the device and output voltage. For more details check documentation.
Key functions:
void buck10_gpioDriverInit(T_BUCK10_P gpioObj)
- Convert ADC value to Pressure data in mBar.T_BUCK10_RETVAL buck10_enable( T_BUCK10_STATE pwr_state )
- This function allows user to enable or disable the device.Examples description
The application is composed of three sections :
void applicationTask()
{
buck10_enable( _BUCK10_ENABLE );
mikrobus_logWrite( "** Buck 10 is enabled **", _LOG_LINE );
Delay_ms( 10000 );
buck10_enable( _BUCK10_DISABLE );
mikrobus_logWrite( "** Buck 10 is disabled **", _LOG_LINE );
Delay_ms( 10000 );
}
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.