eFlexPwm
Arduino eFlexPwm library for Teensy 4.x
_pwm_input_capture_param

Structure is used to hold parameters to configure the capture capability of a signal pin. More...

#include <nxp-enums-struct.h>

Collaboration diagram for _pwm_input_capture_param:

Public Attributes

bool captureInputSel
 
uint8_t edgeCompareValue
 
pwm_input_capture_edge_t edge0
 
pwm_input_capture_edge_t edge1
 
bool enableOneShotCapture
 
uint8_t fifoWatermark
 

Detailed Description

Structure is used to hold parameters to configure the capture capability of a signal pin.

Definition at line 362 of file nxp-enums-struct.h.

Member Data Documentation

◆ captureInputSel

bool _pwm_input_capture_param::captureInputSel

true: Use the edge counter signal as source false: Use the raw input signal from the pin as source

Definition at line 363 of file nxp-enums-struct.h.

◆ edge0

pwm_input_capture_edge_t _pwm_input_capture_param::edge0

Specify which edge causes a capture for input circuitry 0

Definition at line 366 of file nxp-enums-struct.h.

◆ edge1

pwm_input_capture_edge_t _pwm_input_capture_param::edge1

Specify which edge causes a capture for input circuitry 1

Definition at line 367 of file nxp-enums-struct.h.

◆ edgeCompareValue

uint8_t _pwm_input_capture_param::edgeCompareValue

Compare value, used only if edge counter is used as source

Definition at line 365 of file nxp-enums-struct.h.

◆ enableOneShotCapture

bool _pwm_input_capture_param::enableOneShotCapture

true: Use one-shot capture mode; false: Use free-running capture mode

Definition at line 368 of file nxp-enums-struct.h.

◆ fifoWatermark

uint8_t _pwm_input_capture_param::fifoWatermark

Watermark level for capture FIFO. The capture flags in the status register will set if the word count in the FIFO is greater than this watermark level

Definition at line 370 of file nxp-enums-struct.h.