ADuCM302x Device Drivers API Reference Manual  Release 3.1.2.0
HelloWorld.c
1 /*****************************************************************************
2  * HelloWorld.c
3  *****************************************************************************/
4 
5 #include <stdio.h>
6 #include <drivers/pwr/adi_pwr.h>
7 #include "HelloWorld.h"
8 
9 int main(int argc, char *argv[])
10 {
11  /* Initialize the power service */
13  {
14  return 1;
15  }
17  {
18  return 1;
19  }
21  {
22  return 1;
23  }
24 
25  /* Begin adding your custom code here */
26  printf("Hello, world!\n");
27 
28  return 0;
29 }
30 
ADI_PWR_RESULT adi_pwr_SetClockDivider(const ADI_CLOCK_ID eClockId, const uint16_t nDiv)
Sets the clock divide factor for an individual clock group.
Definition: adi_pwr.c:565
ADI_PWR_RESULT adi_pwr_Init(void)
Definition: adi_pwr.c:109