Quantcast
Viewing all articles
Browse latest Browse all 5391

SDK • struct uart_inst

I am confused by this, in `hardware/uart.h`:

Code:

// Currently always a pointer to hw but it might not be in the futuretypedef struct uart_inst uart_inst_t;
I cannot find any definition for the `struct uart_inst`. I start to suspect that the `struct` does not actually exist, and that this `typedef` is only to create a type that can be pointed to.

Is that correct? If no, where is the definition of the `struct`?

Statistics: Posted by gostervall — Fri Nov 15, 2024 12:25 pm



Viewing all articles
Browse latest Browse all 5391

Trending Articles