Changes between Initial Version and Version 1 of howto/bitfields_in_microblaze


Ignore:
Timestamp:
Feb 17, 2015, 4:56:08 PM (9 years ago)
Author:
chunter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • howto/bitfields_in_microblaze

    v1 v1  
     1= Using Bit-Fields in a MicroBlaze C Project =
     2
     3We use a very useful C programming tool in the [wiki:802.11 802.11 Reference Design] known as [http://en.wikipedia.org/wiki/Bit_field a Bit-Field]. Bits are not individually addressable in C -- when unaligned access is enabled in a processor, the minimum addressable unit of data is a byte. Bit-fields provide a useful way of interpreting the bits that make up large type definitions. This document is a tutorial on how to use bit-fields in MicroBlaze C projects.
     4
     5
     6
     7= Example: Register Access =
     8
     9= Example: Interpretation of Byte Array =