Skip to main content
MSpot.2
Associate
November 4, 2020
Question

The stm32 mcus platform has a "Bit Manipulation Engine" similar feature to the NXP mcus platform?

Decorated memory store and load for atomic operations

    This topic has been closed for replies.

    4 replies

    TDK
    November 4, 2020

    There are some families with bit-banded SRAM which allows atomic read/write on bits. Not sure if that's what you're looking for or not.

    "If you feel a post has answered your question, please click ""Accept as Solution""."
    MSpot.2
    MSpot.2Author
    Associate
    November 4, 2020

    Thanks for reply,

    I'm aware of bit banding feature that is only for atomic set and clear operation on single bit from alias address to sigle bit.

    I want to know if there is such atomic load and store for "and or xor bit-field-extract bit-field-insert" from decorated address usage, e.g. BME in NXP mcus.

    Sorry for my english i hope to be clear

    Thanks

    waclawek.jan
    Super User
    November 4, 2020

    No.

    JW

    Uwe Bonnes
    Chief
    November 5, 2020

    At least GPIO has Bit set and Reset registers for atomic access.