|
MotorWare f2806x Driver API Documentation
|
Contains the various functions related to the clock object. More...
#include "sw/drivers/clk/src/32b/f28x/f2806x/clk.h"Go to the source code of this file.
Functions | |
| void | CLK_disableAdcClock (CLK_Handle clkHandle) |
| Disables the ADC clock. More... | |
| void | CLK_disableClaClock (CLK_Handle clkHandle) |
| Disables the CLA clock. More... | |
| void | CLK_disableClkIn (CLK_Handle clkHandle) |
| Disables the XCLKIN oscillator input. More... | |
| void | CLK_disableCompClock (CLK_Handle clkHandle, const CLK_CompNumber_e compNumber) |
| Disables the comparator clock. More... | |
| void | CLK_disableCpuTimerClock (CLK_Handle clkHandle, const CLK_CpuTimerNumber_e cpuTimerNumber) |
| Disables the CPU timer clock. More... | |
| void | CLK_disableCrystalOsc (CLK_Handle clkHandle) |
| Disables the crystal oscillator. More... | |
| void | CLK_disableEcanaClock (CLK_Handle clkHandle) |
| Disables the ECANA clock. More... | |
| void | CLK_disableEcap1Clock (CLK_Handle clkHandle) |
| Disables the ECAP1 clock. More... | |
| void | CLK_disableEqep1Clock (CLK_Handle clkHandle) |
| Disables the EQEP1 clock. More... | |
| void | CLK_disableEqep2Clock (CLK_Handle clkHandle) |
| Disables the EQEP2 clock. More... | |
| void | CLK_disableGpioInputClock (CLK_Handle clkHandle) |
| Disables the GPIO input clock. More... | |
| void | CLK_disableHrPwmClock (CLK_Handle clkHandle) |
| Disables the HRPWM clock. More... | |
| void | CLK_disableI2cClock (CLK_Handle clkHandle) |
| Disables the I2C clock. More... | |
| void | CLK_disableLinAClock (CLK_Handle clkHandle) |
| Disables the LIN-A clock. More... | |
| void | CLK_disableOsc1 (CLK_Handle clkHandle) |
| Disables internal oscillator 1. More... | |
| void | CLK_disableOsc1HaltMode (CLK_Handle clkHandle) |
| Disables internal oscillator 1 halt mode ignore. More... | |
| void | CLK_disableOsc2 (CLK_Handle clkHandle) |
| Disables internal oscillator 2. More... | |
| void | CLK_disableOsc2HaltMode (CLK_Handle clkHandle) |
| Disables internal oscillator 2 halt mode ignore. More... | |
| void | CLK_disablePwmClock (CLK_Handle clkHandle, const PWM_Number_e pwmNumber) |
| Disables the pwm clock. More... | |
| void | CLK_disableSciaClock (CLK_Handle clkHandle) |
| Disables the SCI-A clock. More... | |
| void | CLK_disableScibClock (CLK_Handle clkHandle) |
| Disables the SCI-B clock. More... | |
| void | CLK_disableSpiaClock (CLK_Handle clkHandle) |
| Disables the SPI-A clock. More... | |
| void | CLK_disableSpibClock (CLK_Handle clkHandle) |
| Disables the SPI-B clock. More... | |
| void | CLK_disableTbClockSync (CLK_Handle clkHandle) |
| Disables the ePWM module time base clock sync signal. More... | |
| void | CLK_disableWatchDogHaltMode (CLK_Handle clkHandle) |
| Disables the watchdog halt mode ignore. More... | |
| void | CLK_enableAdcClock (CLK_Handle clkHandle) |
| Enables the ADC clock. More... | |
| void | CLK_enableClaClock (CLK_Handle clkHandle) |
| Enables the CLA clock. More... | |
| void | CLK_enableCompClock (CLK_Handle clkHandle, const CLK_CompNumber_e compNumber) |
| Enables the comparator clock. More... | |
| void | CLK_enableCpuTimerClock (CLK_Handle clkHandle, const CLK_CpuTimerNumber_e cpuTimerNumber) |
| Enables the CPU timer clock. More... | |
| void | CLK_enableCrystalOsc (CLK_Handle clkHandle) |
| Enables the crystal oscillator. More... | |
| void | CLK_enableEcanaClock (CLK_Handle clkHandle) |
| Enables the ECANA clock. More... | |
| void | CLK_enableEqep1Clock (CLK_Handle clkHandle) |
| Enables the EQEP1 clock. More... | |
| void | CLK_enableEqep2Clock (CLK_Handle clkHandle) |
| Enables the EQEP2 clock. More... | |
| void | CLK_enableEcap1Clock (CLK_Handle clkHandle) |
| Enables the ECAP1 clock. More... | |
| void | CLK_enableClkIn (CLK_Handle clkHandle) |
| Enables the XCLKIN oscillator input. More... | |
| void | CLK_enableGpioInputClock (CLK_Handle clkHandle) |
| Enables the GPIO input clock. More... | |
| void | CLK_enableHrPwmClock (CLK_Handle clkHandle) |
| Enables the HRPWM clock. More... | |
| void | CLK_enableI2cClock (CLK_Handle clkHandle) |
| Enables the I2C clock. More... | |
| void | CLK_enableLinAClock (CLK_Handle clkHandle) |
| Enables the LIN-A clock. More... | |
| void | CLK_enableOsc1 (CLK_Handle clkHandle) |
| Enables internal oscillator 1. More... | |
| void | CLK_enableOsc1HaltMode (CLK_Handle clkHandle) |
| Enables internal oscillator 1 halt mode ignore. More... | |
| void | CLK_enableOsc2 (CLK_Handle clkHandle) |
| Enables internal oscillator 2. More... | |
| void | CLK_enableOsc2HaltMode (CLK_Handle clkHandle) |
| Enables internal oscillator 2 halt mode ignore. More... | |
| void | CLK_enablePwmClock (CLK_Handle clkHandle, const PWM_Number_e pwmNumber) |
| Enables the pwm clock. More... | |
| void | CLK_enableSciaClock (CLK_Handle clkHandle) |
| Enables the SCI-A clock. More... | |
| void | CLK_enableScibClock (CLK_Handle clkHandle) |
| Enables the SCI-B clock. More... | |
| void | CLK_enableSpiaClock (CLK_Handle clkHandle) |
| Enables the SPI-A clock. More... | |
| void | CLK_enableSpibClock (CLK_Handle clkHandle) |
| Enables the SPI-B clock. More... | |
| void | CLK_enableTbClockSync (CLK_Handle clkHandle) |
| Enables the ePWM module time base clock sync signal. More... | |
| void | CLK_enableWatchDogHaltMode (CLK_Handle clkHandle) |
| Enables the watchdog halt mode ignore. More... | |
| CLK_Handle | CLK_init (void *pMemory, const size_t numBytes) |
| Initializes the clock (CLK) object handle. More... | |
| void | CLK_setClkOutPreScaler (CLK_Handle clkHandle, const CLK_ClkOutPreScaler_e preScaler) |
| Sets the external clock out prescaler. More... | |
| void | CLK_setLowSpdPreScaler (CLK_Handle clkHandle, const CLK_LowSpdPreScaler_e preScaler) |
| Sets the low speed peripheral clock prescaler. More... | |
| void | CLK_setOscSrc (CLK_Handle clkHandle, const CLK_OscSrc_e src) |
| Sets the oscillator clock source. More... | |
| void | CLK_setOsc2Src (CLK_Handle clkHandle, const CLK_Osc2Src_e src) |
| Sets the oscillator 2 clock source. More... | |
| void | CLK_setXClkInSrc (CLK_Handle clkHandle, const CLK_XClkInSrc_e src) |
| Sets the XCLKIN Clock Source. More... | |
| void | CLK_setTimer2PreScale (CLK_Handle clkHandle, const CLK_Timer2PreScaler_e preScaler) |
| void | CLK_setTimer2Src (CLK_Handle clkHandle, const CLK_Timer2Src_e src) |
| Sets the timer 2 clock source. More... | |
| void | CLK_setWatchDogSrc (CLK_Handle clkHandle, const CLK_WdClkSrc_e src) |
| Sets the watchdog clock source. More... | |
Contains the various functions related to the clock object.
(C) Copyright 2015, Texas Instruments, Inc.
Definition in file clk.c.
| void CLK_setTimer2PreScale | ( | CLK_Handle | clkHandle, |
| const CLK_Timer2PreScaler_e | preScaler | ||
| ) |
Definition at line 954 of file clk.c.
References CLK_CLKCTL_TMR2CLKPRESCALE_BITS, _CLK_Obj_::CLKCTL, DISABLE_PROTECTED_REGISTER_WRITE_MODE, and ENABLE_PROTECTED_REGISTER_WRITE_MODE.
1.8.9.1