Component Generation Question | Cypress Semiconductor
Component Generation Question
I am working on a component that uses one wire protocol to communicate. To perform the communications, I need to change the state of a communication pin high/low. In addition, more than one one wire protocol component use that same communication pin as their hub. Since the comm pin could be a hub for more than one component, the comm pin cannot be part of the custom component design itself.
I have tried solutions like having an option to make one of the components a master and the rest use it as a hub or a one wire hub component but all have failed. My current solution is to use a parameter to act as the pin's name and using that parameter to fill in the pin's name to the API. This works but is not ideal.
I would like to have the API fill in the pin name when the pin terminal is connected to the component terminal. Is there a way to do this? If so, could you please leave a step by step process. Thanks.