clockps: xclockps.h File Reference

| clockps Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

Data Structures | Macros | Functions
xclockps.h File Reference

## Data Structures
struct | XClock
| The XClockPs driver instance data. More...

## Macros
#define | XCLOCK_CLOCK_IS_CRITICAL BIT(0)
| Clock is critical and will not be disabled. More...
#define | XCLOCK_MAX_VALUE_UNSIGNED_TYPE(type) (type)(~0)
| Gives the max value for unsigned type Note: Not to be used with signed types. More...
#define | XCLOCK_GENERATE_PARENT_ID(type, idx) ((u16)((u16)(type << 8) | (u8)(idx)))
| Parent ID for node parents. More...
#define | XCLOCK_VALIDATE_INDEX(type, index)
| This macro checks if index is valid. More...
#define | XCLOCK_VALIDATE_INDEX_WARN(type, index)
| This macro checks for valid index and returns no failure status. More...

## Functions
XClockPs_Config * | XClock_LookupConfig (u16 DeviceId)
| Lookup the device configuration based on the unique device ID. More...