Functions
cs.c File Reference
#include <stdint.h>
#include <ti/devices/msp432p4xx/driverlib/cs.h>
#include <ti/devices/msp432p4xx/driverlib/interrupt.h>
#include <ti/devices/msp432p4xx/driverlib/debug.h>
#include <ti/devices/msp432p4xx/driverlib/sysctl_a.h>

Functions

void CS_setExternalClockSourceFrequency (uint32_t lfxt_XT_CLK_frequency, uint32_t hfxt_XT_CLK_frequency)
 
void CS_initClockSignal (uint32_t selectedClockSignal, uint32_t clockSource, uint32_t clockSourceDivider)
 
bool CS_startHFXT (bool bypassMode)
 
bool CS_startHFXTWithTimeout (bool bypassMode, uint32_t timeout)
 
bool CS_startLFXT (uint32_t xtDrive)
 
bool CS_startLFXTWithTimeout (uint32_t xtDrive, uint32_t timeout)
 
void CS_enableClockRequest (uint32_t selectClock)
 
void CS_disableClockRequest (uint32_t selectClock)
 
void CS_setReferenceOscillatorFrequency (uint8_t referenceFrequency)
 
void CS_enableDCOExternalResistor (void)
 
void CS_setDCOExternalResistorCalibration (uint_fast8_t calData, uint_fast8_t freqRange)
 
void CS_disableDCOExternalResistor (void)
 
void CS_setDCOCenteredFrequency (uint32_t dcoFreq)
 
void CS_tuneDCOFrequency (int16_t tuneParameter)
 
uint32_t CS_getDCOFrequency (void)
 
void CS_setDCOFrequency (uint32_t dcoFrequency)
 
uint32_t CS_getBCLK (void)
 
uint32_t CS_getHSMCLK (void)
 
uint32_t CS_getACLK (void)
 
uint32_t CS_getSMCLK (void)
 
uint32_t CS_getMCLK (void)
 
void CS_enableFaultCounter (uint_fast8_t counterSelect)
 
void CS_disableFaultCounter (uint_fast8_t counterSelect)
 
void CS_resetFaultCounter (uint_fast8_t counterSelect)
 
void CS_startFaultCounter (uint_fast8_t counterSelect, uint_fast8_t countValue)
 
void CS_enableInterrupt (uint32_t flags)
 
void CS_disableInterrupt (uint32_t flags)
 
uint32_t CS_getInterruptStatus (void)
 
uint32_t CS_getEnabledInterruptStatus (void)
 
void CS_clearInterruptFlag (uint32_t flags)
 
void CS_registerInterrupt (void(*intHandler)(void))
 
void CS_unregisterInterrupt (void)
 

Copyright 2018, Texas Instruments Incorporated