2080430_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2080430_en-US

2080430_en-US

after pin assign, do i have to add all of assign pins in port container?

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.


화면 캡처 2025-04-15 132132.png화면 캡처 2025-04-15 132156.png

Re: after pin assign, do i have to add all of assign pins in port container?

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.

Direct Signals.png

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.
-------------------------------------------------------------------------------

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-21-2025 01:15 PM
更新者: