Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: i don't understand the syntax ((typedef *) address value) (7 Replies)

$
0
0
hi Everybody, i copy and paste a line of code bellow as an example:"#define USB (( USB_TypeDef *) USB_BASE)" ( suppose #define USB_BASE 0x0C000 ) i don't understand the "(( USB_TypeDef *) USB_BASE)"? why the *, the pointer operator, is placed with type inside parenthesis? thanks, Ras

Viewing all articles
Browse latest Browse all 3049

Trending Articles