XDK API  3.6.0
Documentation
Files
Timer

Unified HAL API for Timer hardware. More...

+ Collaboration diagram for Timer:

Files

file  BCDS_MCU_Timer.h
 

Detailed Description

Use this component to control the timer hardware peripheral The timer is being set in the BSP including clock setup The application will get a driver handle by the BSP in order to control, start, stop the timer

Before using the timer it has to be initialized by a call to MCU_TIMER_Initialize

Retcode_T retcode = MCU_TIMER_Initialize(timer0, MyTimer0EventCallback);
if(RETCODE_OK != retcode)
{
// handle the error
}
else
{
// use the timer
}

Once the timer is successfully initialized, it can be used

Note
It is possible to disable the entire TIMER feature in the HAL-BSP configuration file. i.e. the TIMER code will only be compiled and linked if the feature BCDS_FEATURE_TIMER is set to 1 in the configuration file.

All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:53 by doxygen 1.8.8