i will use pwm, adc, gpio, can, uart and so on..
and i assign pins.
after pin assign, do i have to add all of assign pins in port container?
if i don't add in port container and don't init port, that pins don't work??
thanks for regards.
Solved! Go to Solution.
Hi
Yes.
/*!
* @brief Initializes the pins with the given configuration structure
*
* This function configures the pins with the options provided in the
* provided structure.
*
* @param[in] pinCount The number of configured pins in structure
* @param[in] config The configuration structure
* @return The status of the operation
*/
Siul2_Port_Ip_PortStatusType Siul2_Port_Ip_Init(uint32 pinCount,
const Siul2_Port_Ip_PinSettingsConfig config[]);
Only those pins that have this function by default(Direct Signals) will work, such as ADC\CMP, etc.
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi
Yes.
/*!
* @brief Initializes the pins with the given configuration structure
*
* This function configures the pins with the options provided in the
* provided structure.
*
* @param[in] pinCount The number of configured pins in structure
* @param[in] config The configuration structure
* @return The status of the operation
*/
Siul2_Port_Ip_PortStatusType Siul2_Port_Ip_Init(uint32 pinCount,
const Siul2_Port_Ip_PinSettingsConfig config[]);
Only those pins that have this function by default(Direct Signals) will work, such as ADC\CMP, etc.
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------