Sign In
Upload
Manuals
Brands
Freescale Semiconductor Manuals
Computer Hardware
MMA9559L
Freescale Semiconductor MMA9559L Manuals
Manuals and User Guides for Freescale Semiconductor MMA9559L. We have
1
Freescale Semiconductor MMA9559L manual available for free PDF download: Software Reference Manual
Freescale Semiconductor MMA9559L Software Reference Manual (93 pages)
Intelligent, Motion-Sensing Platform
Brand:
Freescale Semiconductor
| Category:
Computer Hardware
| Size: 0 MB
Table of Contents
Table of Contents
3
Chapter 1 About this Document
7
Overview
7
Purpose
7
Audience
7
Document Structure
7
Terms and Acronyms
8
Conventions
9
References
10
Chapter 2 Firmware Overview
11
Firmware Elements and Functionality
11
Memory and CPU Usage
12
Flash Memory
12
Ram
12
Supervisor Stack Usage
13
Hardware Support
14
Frame Interval Counter
14
Analog Front End (AFE)
15
Stop Mode Control
17
Events and Scheduling
18
Events
18
Initialization
21
Interrupts and Critical Sections
22
Fifos
24
Instantiate FIFO
25
Initialize FIFO
25
Push Data Onto the FIFO
26
Pop Data off the FIFO
27
Reset the FIFO
27
Other FIFO Functions
28
Power
28
Chapter 3 User Code Example
31
Header
31
User Exception Handler
32
User Trap Handler
35
User Main
37
Chapter 4 Functional Details
39
Memory and CPU Usage
39
Supervisor Stack
40
Hardware Support
42
Macros
42
Define NUM_SENSOR_AXIS 5
42
Enumerations
42
Enum Afe_Csr_Options_T
42
Enum Framerate_T
44
Data Structure
45
Mma9559_Afe_Data_T
45
Functions
46
Framerate_T Mma9559_Framerate_Set(Framerate_T Rate)
46
Void Mma9559_Afe_Conversion_Start(Void)
47
Void Mma9559_Afe_Interrupt_Clear(Void)
48
Void Mma9559_Afe_Raw_Sensor_Data_Get(Int16 *Data_Ptr)
49
Void Mma9559_Afe_Raw_Sensor_Data_Trim(Int16 *Trim_Ptr, Int16 *Data_Ptr)
49
Void Mma9559_Afe_Trimmed_Sensor_Data_Get(Int16 *Trim_Ptr)
51
Void Mma9559_Afe_Csr_Set(Afe_Csr_Options_T Options)
52
Afe_Csr_Options_T Mma9559_Afe_Csr_Get(Void)
53
Void Mma9559_Afe_Offsets_Set(Int16 *Data_Ptr)
54
Void Mma9559_Afe_Offsets_Get(Int16 *Data_Ptr)
55
Events and Scheduling
56
Macros
56
Define EVENT_BITFIELD(B) ((Events_T)(1<<B))
56
Enumerations
57
Enum Idle_Config_T
57
Enum Idle_Bits_T
58
Data Structures
60
Mma9559_Idle_T
60
Mma9559_Vars_T
61
Events_T Mma9559_Events_Set_Clear
61
Functions
62
Mma9559_Vars_T* Mma9559_Vars_Addr_Get(Void)
62
Events_T Clear_Events)
63
Int Mma9559_Events_Find_First(Events_T Events)
64
Int Mma9559_Events_Find_Next(Events_T Events, Int Current_Event)
65
Void Mma9559_Idle(Void)
67
Int Mma9559_Interrupts_Disable(Void)
68
Void Mma9559_Interrupts_Restore(Int Status)
69
Int Mma9559_User_Trap0(Int D0, Int D1, Int D2, Void *A0, Void *A1)
70
Int Mma9559_User_Trap1(Int D0, Int D1, Int D2, Void *A0, Void *A1)
71
Int Mma9559_User_Trap2(Int D0, Int D1, Int D2, Void *A0, Void *A1)
72
Int Mma9559_User_Trap3(Int D0, Int D1, Int D2, Void *A0, Void *A1)
73
Fifos
74
Macros
74
Define FIFO_STRUCT(Max_Entries, Bytes_Per_Entry) Struct { Uint32 Rsvd[2]; Uint8 Data[Max_Entries * Bytes_Per_Entry]
74
Data Structures
75
Mma9559_Fifo_T
75
Functions
76
Unsigned Int Max_Entries, Unsigned Int Bytes_Per_Entry)
76
Void Mma9559_Fifo_Reset(Volatile Mma9559_Fifo_T *Fifo_Ptr)
78
Int Mma9559_Fifo_Pop
79
Unsigned Int Entries)
79
Int Mma9559_Fifo_Push
80
Unsigned Int Entries)
80
Int Mma9559_Fifo_Entries_Used(Volatile Mma9559_Fifo_T *Fifo_Ptr)
81
Int Mma9559_Fifo_Entries_Free(Volatile Mma9559_Fifo_T *Fifo_Ptr)
81
Other Functions
82
Enumerations
82
Enum Boot_Options_T
82
Enum Rmf_Func_T
83
Data Structures
84
Mma9559_Device_Info_T
84
Union Rmf_Return_T
85
Functions
86
Void Mma9559_Boot_Options_Set(Boot_Options_T Option)
86
Int Mma9559_Device_Info_Get(Int Length, Mma9559_Device_Info_T *Addr)
87
Void* Mma9559_Rom_Command(Rmf_Func_T Func_Id, Void *Addr)
88
IIR Filter
89
Data Structures
90
Mma9559_Coef_T
90
Functions
91
Int16 Mma9559_Iir_Filter
91
Void *Buffer)
91
Typedefs
92
Typedef Struct Mma9559_Coef_T Mma9559_Coef_T
92
Appendix A Revision History
93
Changes between Revisions 0 and 0.1
93
Advertisement
Advertisement
Related Products
Freescale Semiconductor Target Interface MMDS0508
Freescale Semiconductor MCF5484
Freescale Semiconductor MPC850DE
Freescale Semiconductor MPC8349E PowerQUICC II Pro
Freescale Semiconductor MSC8156EVM
Freescale Semiconductor MC9S08PT60
Freescale Semiconductor MPC8349EA PowerQUICC II Pro
Freescale Semiconductor MPC8265
Freescale Semiconductor MPC8569E-MDS-PB
Freescale Semiconductor PowerPC MPC823
Freescale Semiconductor Categories
Motherboard
Computer Hardware
Microcontrollers
Control Unit
Controller
More Freescale Semiconductor Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL