Main Content

soc.sdk.Clock Class

Namespace: soc.sdk

Clock object representing the input clock on hardware board

Since R2019b

Description

An object that defines the specifications for a clock on the hardware board.

Creation

Description

clockObj = soc.sdk.Clock(Name) creates a new soc.sdk.Clock object, with the Name property set to name.

Properties

expand all

Name of the clock, specified as a character vector.

Note

The name must start with a letter and may contain letters, numbers, underscores, minus signs, slashes and spaces.

Example: 'MyClock'

Attributes:

GetAccess
public
SetAccess
public

Data Types: char

The frequency of a clock on the hardware board, specified as a positive scalar in MHz.

Example: 150

Attributes:

GetAccess
public
SetAccess
public

Data Types: double

The pins that the clock uses, specified as a nonnegative scalar or a cell array of two nonnegative scalars. One pin shall be specified for single-ended clock, and two pins for differential clock.

Attributes:

GetAccess
public
SetAccess
public

Data Types: cell

The IO standard used by the clock, specified as a character vector.

Attributes:

GetAccess
public
SetAccess
public

Data Types: char

Version History

Introduced in R2019b