- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
We want to change paramId of CapSense V4.10.
We can use cystatus CapSense_SetParam (uint32 paramId, uint32 value).
We refer to "https://community.cypress.com/docs/DOC-14510 ".
In this code, there is "CapSense_Start()" again after "CapSense_SetParam()".
I tried to write "CapSense_SetParam()" without repeating "CapSense_Start()".
It can run well.
Do we need to repeat "CapSense_Start()"?
CapSense_Start(); /* Initialize CapSense Component */
CapSense_SetParam (CapSense_BUTTON0_FINGER_TH_PARAM_ID, 150);
CapSense_ScanAllWidgets(); /* Scan all widgets */
for(;;)
{
...
}
Best regards,
Yocchi
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
You can export the register map by opening the CapSense component configuration GUI and clicking on Export Register Map.
In the register map, for each register, you can check if re-init is required or not. If re-init is not required for the register you wish to modify, then you need not call CapSense_Start(). Otherwise, you will have to.
Thanks,
Shanmathi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
You can export the register map by opening the CapSense component configuration GUI and clicking on Export Register Map.
In the register map, for each register, you can check if re-init is required or not. If re-init is not required for the register you wish to modify, then you need not call CapSense_Start(). Otherwise, you will have to.
Thanks,
Shanmathi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Shanmathi-san,
I greatly appreciate your kindness.
Best regards,
Yocchi