Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UM0097 Datasheet(PDF) 8 Page - STMicroelectronics

Part # UM0097
Description  STR71x firmware library
PDF  229 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0097 Datasheet(HTML) 8 Page - STMicroelectronics

Back Button UM0097 Datasheet HTML 4Page - STMicroelectronics UM0097 Datasheet HTML 5Page - STMicroelectronics UM0097 Datasheet HTML 6Page - STMicroelectronics UM0097 Datasheet HTML 7Page - STMicroelectronics UM0097 Datasheet HTML 8Page - STMicroelectronics UM0097 Datasheet HTML 9Page - STMicroelectronics UM0097 Datasheet HTML 10Page - STMicroelectronics UM0097 Datasheet HTML 11Page - STMicroelectronics UM0097 Datasheet HTML 12Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 8 / 229 page
background image
Document and library rules
UM0097
8/229
typedef volatile signed long
vs32;
typedef volatile signed short vs16;
typedef volatile signed char
vs8;
●
bool type is defined in the file 71x_type.h as:
typedef enum
{
FALSE = 0,
TRUE
= !FALSE
} bool;
●
FlagStatus type is defined in the file 71x_type.h. Two values can be assigned to this
variable: SET or RESET.
typedef enum
{
RESET = 0,
SET
= !RESET
} FlagStatus;
●
FunctionalState type is defined in the file 71x_type.h. Two values can be assigned to
this variable: ENABLE or DISABLE.
typedef enum
{
DISABLE = 0,
ENABLE
= !DISABLE
} FunctionalState;
●
Pointers to peripherals are used to access the peripheral control registers. Peripheral
pointers point to data structures that represent the mapping of the peripheral control
registers. A structure should be defined for each peripheral in 71x_map.h file. The
example below illustrates the GPIO register structure declaration:
typedef volatile struct
{
vu16 PC0;
vu16 EMPTY1;
vu16 PC1;
vu16 EMPTY2;
vu16 PC2;
vu16 EMPTY3;
vu16 PD;
} GPIO_TypeDef;
Register names are the register acronyms written in upper case for each peripheral.
EMPTYi (i is an integer that indexes the reserved field) replaces a reserved field and is
never used.
Sometimes an enumeration is needed for a peripheral. This enumeration is called
PPP_Registers and is declared in the file 71x_ppp.h, e.g.:
typedef enum
{
GPIO_PC0 = 0x00,
GPIO_PC1 = 0x04,
GPIO_PC2 = 0x08,
GPIO_PD
= 0x0C,
} GPIO_Registers;



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com