cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX's hint shouldn't means that Enable is 1; Disable is 0

dungeonlords789
Senior III

In embedded programming usually active low. Low menace enabled chip select or some fuse in atmega.

STM shouldn't write hints which mean Enabled is 1; Disabled is "0".

 0693W00000GWGttQAH.pngAm I right?

2 REPLIES 2
TDK
Guru

> STM shouldn't write hints which mean Enabled is 1; Disabled is "0".

So you want 1 to be disabled and 0 to be enabled just because you think options should be active low?

> In embedded programming usually active low.

Not sure that holds up. Plenty of register bits are 1=enabled. For example, most of the RCC registers.

If you feel a post has answered your question, please click "Accept as Solution".

I suggest use "E", "D" or "En", "Di" or "Enable", "Disable".​