Skip to main content
dungeonlords789
Associate III
November 2, 2021
Question

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

  • November 2, 2021
  • 1 reply
  • 1733 views

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?

This topic has been closed for replies.

1 reply

TDK
Super User
November 3, 2021

> 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""."
dungeonlords789
Associate III
November 3, 2021

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