Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years ago.
What is purpose of typedef enum {...)ALTx
Hi, everybody! Can somebody explain purpose of this construction: typedef enum { ALT0 = 0x100, ALT1 = 0x200, ALT2 = 0x300, ALT3 = 0x400 } ALTx;
if it defines pin alternate functions it should be more than 4 kind. Isn't it? for example in stm32l486vg pin pc9 has 8 alt functions. sorry for my English.