Microchip® Advanced Software Framework

gloc.c File Reference

Glue Logic driver for SAM.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

#include "gloc.h"
#include "sysclk.h"
#include "sleepmgr.h"
#include "conf_gloc.h"

Functions

void gloc_disable (struct gloc_dev_inst *const dev_inst)
 Disable the GLOC module. More...
 
void gloc_enable (struct gloc_dev_inst *const dev_inst)
 Enable the GLOC module. More...
 
void gloc_init (struct gloc_dev_inst *const dev_inst, Gloc *const gloc)
 Initialize the GLOC module. More...
 
void gloc_lut_get_config_defaults (struct gloc_lut_config *const config)
 Get the default configuration for lookup table (LUT) unit of GLOC. More...
 
void gloc_lut_set_config (struct gloc_dev_inst *const dev_inst, uint32_t lut_id, struct gloc_lut_config *const config)
 Configure the lookup table (LUT) unit of GLOC. More...