I'm reviewing C-code which contains the line,
volatile uart_regs_t* const regs = (uart_regs_t*) cntl->addr
I'm not familiar with syntax that places a '*' adjacent and to the right of a struct alias (uart_regs_t
). Someone explain the pieces of this statement?