led toggle function

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

led toggle function

782件の閲覧回数
deepa5
Contributor I

im using s32k344,led toggle function is not working(Siul2_Ip_Togglepin();)can you please suggest me how to use it with configuration

0 件の賞賛
返信
1 返信

764件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @deepa5

The function is declared as such:

 

void Siul2_Dio_Ip_TogglePins(Siul2_Dio_Ip_GpioType * const base,
                             Siul2_Dio_Ip_PinsChannelType pins
                            )
{
    SIUL2_DIO_IP_DEV_ASSERT(NULL_PTR != base);
    Siul2_Dio_Ip_TogglePinsRunTime(base, pins);
}

 

Since it asks GPIO port, and PINS, you can import the Siul_Dio_Ip_Example and use the toggle functions with the following parameters:

 

Siul2_Dio_Ip_TogglePins(LED_Q172_PORT, 1 << LED_Q172_PIN);

 

Best regards,
Julián

 

0 件の賞賛
返信