Jump to main content

##

# 2.131.39 USARTx_LIN_NodeActionSet Function

## C

    /* x = USART instance number */

    /* Blocking and Ring buffer mode */

    void USARTx_LIN_NodeActionSet( USART_LIN_NACT action )

## Summary

This API allows the application to set LIN Node Action (PUBLISH, SUBSCRIBE or IGNORE)

## Description

This API allows the application to set the Action to be performed by LIN Node (PUBLISH, SUBSCRIBE or IGNORE)

## Precondition

USARTx_Initialize must have been called for the associated USART instance.

## Parameters

Param | Description
--- | ---
action | Action to be performed by the node which is defined by enum type USART_LIN_NACT

## Returns

None

## Example

    USART0_LIN_NodeActionSet( USART_LIN_NACT_PUBLISH )

## Remarks

None