Quantcast
Channel: Renesas Synergy Platform
Viewing all articles
Browse latest Browse all 23645

Forum Post: RE: Changing the edge sensitivity of Input capture driver

$
0
0
I was trying to used proposed solution but another issue appeared: I use standard API functions for GPT (open, start, etc.) which need control and config structures: timer_ctrl_t g_timer0_ctrl and const timer_cfg_t g_timer0_cfg However these structures are defined as static. I want to put my functions into different file than the file where these structures are defined, because when I re-generate Synergy files all my changes disappears. But I cannot use the structures as extern in other files because they are static by default. How can I handle this? I can manually delete static qualifier but after re-generating it is static again.

Viewing all articles
Browse latest Browse all 23645

Trending Articles