GLOBAL_CCU4: GLOBAL_CCU4.c File Reference

GLOBAL_CCU4

GLOBAL_CCU4
GLOBAL_CCU4.c File Reference

Detailed Description

Date:
2016-02-10

NOTE: This file is generated by DAVE. Any manual modification done to this file will be lost when the code is regenerated.

Definition in file GLOBAL_CCU4.c.

#include "global_ccu4.h"

Functions

DAVE_APP_VERSION_t GLOBAL_CCU4_GetAppVersion (void)
 Get GLOBAL_CCU4 APP version.
GLOBAL_CCU4_STATUS_t GLOBAL_CCU4_Init (GLOBAL_CCU4_t *handle)
 Initializes a GLOBAL_CCU4 with generated configuration.

Function Documentation

Initializes a GLOBAL_CCU4 with generated configuration.

Parameters:
handlepointer to the GLOBAL_CCU4 APP handle structure.
Returns:
GLOBAL_CCU4_STATUS_t
GLOBAL_CCU4_STATUS_SUCCESS : if initialization is successful
GLOBAL_CCU4_STATUS_FAILURE : if initialization is failed

Description:
  • Enable the module.
  • Start the prescaler.

Example Usage:

 #include <DAVE.h>
 int main(void)
 {
  DAVE_STATUS_t init_status;
  init_status = DAVE_Init();    // GLOBAL_CCU4_Init(&GLOBAL_CCU4_0) will be called from DAVE_Init()

  while(1)
  {
  }
  return 1;
 }


Definition at line 82 of file GLOBAL_CCU4.c.

References GLOBAL_CCU4_STATUS_SUCCESS, GLOBAL_CCU4::is_initialized, GLOBAL_CCU4::mcs_action, and GLOBAL_CCU4::module_ptr.

Go to the source code of this file.