AN1154 STMicroelectronics, AN1154 Datasheet - Page 30
AN1154
Manufacturer Part Number
AN1154
Description
8031-PSD DESIGN TUTORIAL
Manufacturer
STMicroelectronics
Datasheet
1.AN1154.pdf
(83 pages)
- Current page: 30 of 83
- Download datasheet (677Kb)
AN1154 - APPLICATION NOTE
2. After you have made your selection, first click Apply, then click OK. In this example, three files will be
3. Click on the “Coded Examples” tab at the top of the dialog box, as shown in Figure 27.
30/83
written to your folder(s), which are:
The m8813F1.h file contains define statements for each individual C function within the m8813F1.c file.
Later, edit m8813F1.h, and simply remove the comment delimiters (//) from the define statement for
any C function that you would like to be compiled with the rest of your C source code.
– Functions: This is for specifying the folder in which you would like to place the C function file (.c).
– C Code Selection: Select the categories of C code functions that you would like to integrate into
– Description: This offers a description of the functions that are generated if selected in the “C Code
– m8813F1.c: the ANSI-C source for all of the selected functions
– m8813F1.h: the ANSI-C header file to define particular PSD registers
– map813F1.h: the ANSI-C header file to define locations of system memory elements (Flash,
file(s) at this point since these header files may referenced by name within other header files or the
C functions that are also generated by PSDsoft. Once all of the headers and functions are copied
to their designated folders, you may edit the header file names any way you wish, as long as you
change their names in the respective “#include” statements.
(Click the Browse button to help in filling in this section). Typically, a folder in your MCU cross-
compiler environment is chosen. This file will contain the functions you specify in the next section.
your C application program. Under “PSD Category” are the major PSD functional groups that are
supported with C code for the PSD device that is used for this project. Under “C Code Coverage” is
a brief list of the individual functions that are available within each category. To select more than
one category, hold the “Ctrl” key while making selections with the left mouse button. Even if more
than one category is selected, though, only one .c file is generated because functions are appended
within the same file.
Selection” box. If you double-click on a function within the Description box, the C code that will be
generated is shown, so you can get an idea of what will appear in the sample C file.
EEPROM, PSD registers, etc.).
Related parts for AN1154
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
An Overview og the Phase Locked Loop
Manufacturer:
Philips
Datasheet:
Part Number:
Description:
AN OVERVIEW OF THE LPC FLASH INTERFACE
Manufacturer:
STMicroelectronics
Part Number:
Description:
An Evaluation System Interfacing the MPX2000 Series Pressure Sensors to a Microprocessor
Manufacturer:
Motorola / Freescale Semiconductor
Part Number:
Description:
An FM-IF system for DECT and other high speed GFSK applications
Manufacturer:
Philips Semiconductors / NXP Semiconductors
Part Number:
Description:
An 8 x 8 Discrete Cosine Transform on the StarCore SC140/SC1400 Cores
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An Overview of the HCS12 ATD Module
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An Introduction to the External Bus Interface on the HCS12X
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An RF Data Link Using Tango3 and Romeo2 RF Modules
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
STMicroelectronics [RIPPLE-CARRY BINARY COUNTER/DIVIDERS]
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
STMicroelectronics [LIQUID-CRYSTAL DISPLAY DRIVERS]
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
BOARD EVAL FOR MEMS SENSORS
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
NPN TRANSISTOR POWER MODULE
Manufacturer:
STMicroelectronics
Datasheet: