Not applicable
Nov 12, 2015
05:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 12, 2015
05:03 AM
For XMC4500, is read or write of uint32_t, uint6_t or uint8_t type of data atomic? how about accessing element of a struct of mixed data types, is the access atomic?
struct status_t {
uint8_t status1;
uint16_t satus2;
}
struct status_t {
uint8_t status1;
uint16_t satus2;
}
- Tags:
- IFX
4 Replies
Nov 12, 2015
09:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 12, 2015
09:28 PM
Hi,
So sorry no ideal regarding the meaning of data atomic.
So sorry no ideal regarding the meaning of data atomic.
Not applicable
Nov 13, 2015
12:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 13, 2015
12:38 AM
I can reformulate the question. For basic data types of variables (int8, int16, int32, float, char, etc) and elements of basic data types of structs, is a read of variable or a write of a variable ( or element ) is completed in a single operation in assembly code (after compiling).
Nov 16, 2015
02:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 16, 2015
02:38 AM
For this you have to check on the ARM M4 instruction sets manual.
Not applicable
Nov 16, 2015
08:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 16, 2015
08:43 AM
I found it out in deassembly code.