![]() |
ttcps
Xilinx SDK Drivers API Documentation
|
Functions | |
s32 | XTtcPs_CfgInitialize (XTtcPs *InstancePtr, XTtcPs_Config *ConfigPtr, u32 EffectiveAddr) |
Initializes a specific XTtcPs instance such that the driver is ready to use. More... | |
void | XTtcPs_SetMatchValue (XTtcPs *InstancePtr, u8 MatchIndex, u16 Value) |
This function is used to set the match registers. More... | |
u16 | XTtcPs_GetMatchValue (XTtcPs *InstancePtr, u8 MatchIndex) |
This function is used to get the value of the match registers. More... | |
void | XTtcPs_SetPrescaler (XTtcPs *InstancePtr, u8 PrescalerValue) |
This function sets the prescaler enable bit and if needed sets the prescaler bits in the control register. More... | |
u8 | XTtcPs_GetPrescaler (XTtcPs *InstancePtr) |
This function gets the input clock prescaler. More... | |
void | XTtcPs_CalcIntervalFromFreq (XTtcPs *InstancePtr, u32 Freq, XInterval *Interval, u8 *Prescaler) |
This function calculates the interval value as well as the prescaler value for a given frequency. More... | |