Synergy Software Package User's Manual
pdc_instance_ctrl_t Struct Reference

#include <r_pdc.h>

Data Fields

R_PDC_Type * p_reg
 Pointer to PDC base address.
 
uint32_t open
 
uint8_t bytes_per_pixel
 Number of bytes per pixel.
 
uint16_t x_resolution_pixels
 Total number of horizontal pixels input to PDC.
 
uint16_t y_resolution_pixels
 Total number of lines input to the PDC.
 
uint16_t x_capture_start_pixel
 Horizontal position to start capture.
 
uint16_t x_capture_pixels
 Number of horizontal pixels to capture.
 
uint16_t y_capture_start_pixel
 Vertical position to start capture.
 
uint16_t y_capture_pixels
 Number of vertical lines/pixels to capture.
 
pdc_endian_t endian
 Endian of capture data.
 
pdc_hsync_polarity_t hsync_polarity
 Polarity of HSYNC input.
 
pdc_vsync_polarity_t vsync_polarity
 Polarity of VSYNC input.
 
uint8_t * p_current_buffer
 Pointer to buffer currently in use.
 
bool transfer_in_progress
 Indicates if a PDC transfer is already in progress.
 
transfer_instance_t const * p_lower_lvl_transfer
 Pointer to the transfer instance the PDC should use.
 
transfer_info_t info_transfer
 Transfer info structure for low level Transfer interface.
 
void const * p_context
 
void(* p_callback )(pdc_callback_args_t *p_args)
 Callback provided when a PDC transfer ISR occurs.
 
IRQn_Type frame_end_irq
 Frame end interrupt number.
 
IRQn_Type irq
 PDC interrupt number.
 

Detailed Description

PDC instance control block. DO NOT INITIALIZE. Initialization occurs when pdc_api_t::open is called.

Field Documentation

◆ open

uint32_t pdc_instance_ctrl_t::open

Indicates whether or not the driver is open called.

◆ p_context

void const* pdc_instance_ctrl_t::p_context

Placeholder for user data. Passed to the user callback in pdc_callback_args_t.


The documentation for this struct was generated from the following file: