Just toggle two leds on oposite states

Port

Port:
  General:
    Post Build Variant Used: true
    Config Variant: VariantPostBuild
    ...
  PortContainer: "PortContainer_0"
      General:
        PortNumberOfPortPins: 2
          PortPin: "D16_RED_LED"
            PortPin Pcr: 112        # port pin D16
            PortPin Direction: PORT_PIN_OUT
            PortPin Level Value: PORT_PIN_LEVEL_LOW  #init value after reset
            ...
          PortPin: "D0_BLUE_LED"
            PortPin Pcr: 96        # port pin D0
            PortPin Direction: PORT_PIN_OUT
            PortPin Level Value: PORT_PIN_LEVEL_HIGH  #init value after reset
            ...

Dio

Dio:
  ...
  DioPort: "PORTD"
    General:
      DioPortId: 3
    DioChannel: "D16_RED_LED"
      General:
        DioChannelId: 16
    DioChannel: "D0_BLUE_LED"
      General:
        DioChannelId: 0

main.c

#include "Mcu.h"
#include "Port.h"
#include "Dio.h"

void EcuM_Init( void );

int main( void )
{
    EcuM_Init();
    
    while(1)
    {
        Dio_FlipChannel( DioConf_DioChannel_D16_RED_LED );
        Dio_FlipChannel( DioConf_DioChannel_D0_BLUE_LED );
        /*dummy delay*/
        for( uint32 i = 0u ; i < 1000000u ; i++ );
    }

    return 0;
}

void EcuM_Init( void )
{
    Mcu_Init( &Mcu_Config );
    /* Initialize the clock tree with no PLL active*/
    Mcu_InitClock( McuClockSettingConfig_0 );
    Mcu_SetMode( McuModeSettingConf_0 );
    /*Init ports D16 and D0*/
    Port_Init( &Port_Config );
}