nxp,imx-tmr

Vendor: NXP Semiconductors N.V.

Description

NXP MCUX Quad Timer Channel. Each channel of each quad timer can operate independently and hence will be realized as a separate counter device

Properties

Properties not inherited from the base binding file.

Name

Type

Details

channel

int

This property is required.

Legal values: 0, 1, 2, 3

mode

string

counting mode of the timer, see qtmr_counting_mode_t enumerator type of the MCUXpresso SDK

This property is required.

Legal values: 'kQTMR_NoOperation', 'kQTMR_PriSrcRiseEdge', 'kQTMR_PriSrcRiseAndFallEdge', 'kQTMR_PriSrcRiseEdgeSecInpHigh', 'kQTMR_QuadCountMode', 'kQTMR_PriSrcRiseEdgeSecDir', 'kQTMR_SecSrcTrigPriCnt', 'kQTMR_CascadeCount'

primary_source

string

Primary source of the timer, see qtmr_primary_count_source_t enumerator type of the MCUXpresso SDK

This property is required.

Legal values: 'kQTMR_ClockCounter0InputPin', 'kQTMR_ClockCounter1InputPin', 'kQTMR_ClockCounter2InputPin', 'kQTMR_ClockCounter3InputPin', 'kQTMR_ClockCounter0Output', 'kQTMR_ClockCounter1Output', 'kQTMR_ClockCounter2Output', 'kQTMR_ClockCounter3Output', 'kQTMR_ClockDivide_1', 'kQTMR_ClockDivide_2', 'kQTMR_ClockDivide_4', 'kQTMR_ClockDivide_8', 'kQTMR_ClockDivide_16', 'kQTMR_ClockDivide_32', 'kQTMR_ClockDivide_64', 'kQTMR_ClockDivide_128'

secondary_source

string

Secondary source of the timer, see qtmr_input_source_t enumerator type of the MCUXpresso SDK

Legal values: 'kQTMR_Counter0InputPin', 'kQTMR_Counter1InputPin', 'kQTMR_Counter2InputPin', 'kQTMR_Counter3InputPin'

filter_count

int

Fault filter count (0-255).

filter_period

int

Fault filter period (0-255).

freq

int

clock frequency (only used for external clock sources)