led toggle function

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

led toggle function

773 Views
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 Kudos
Reply
1 Reply

755 Views
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 Kudos
Reply