1.2.6.4.13 SRV_USI_DEV_DESC Struct

C

typedef struct
{
    SRV_USI_INIT_FPTR init;

    SRV_USI_OPEN_FPTR open;

    SRV_USI_REGISTER_READ_CALLBACK_FPTR setReadCallback;

    SRV_USI_WRITE_FPTR writeData;

    SRV_USI_TASK_FPTR task;

    SRV_USI_CLOSE close;

    SRV_USI_STATUS_FPTR status;

} SRV_USI_DEV_DESC;

Summary

Contains the API required by the USI service to abstract from the hardware peripheral used.

Description

This structure contains pointers to functions required by the USI service to abstract from the hardware peripheral used. The USI service implements these functions for UART peripherals (see srv_usi_usart.c) and USB CDC Function Driver (see srv_usi_cdc.c).

Remarks

The generated code will include srv_usi_usart.c and/or srv_usi_cdc.c files depending on the USI instance(s) MCC configuration.