/usr/share/gputils/header/memory.inc is in gputils-common 1.4.0-0.1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 | LIST
; MEMORY.INC Standard Header File, Version 1.02 Microchip Technology, Inc.
NOLIST
; This header file defines the maximum byte address for memory devices.
; To use MPASM to generate memory device data, select either EEPROM8 or
; EEPROM16 as the "processor". Use the DATA directive to generate the
; data for the device. All mathematical, text substitution, symbol, and
; macro support is available for generating the data.
; Note that the processor must be selected before this file is
; included. The processor may be selected the following ways:
; 1. Command line switch:
; C:\ MPASM MYFILE.ASM /PEEPROM8
; or
; C:\ MPASM MYFILE.ASM /PEEPROM16
; 2. LIST directive in the source file
; LIST P=EEPROM8
; or
; LIST P=EEPROM16
; 3. Processor Type entry in the MPASM full-screen interface
; The default byte size for a memory device is 256 bytes. To modify this,
; use the symbols defined in the file in the LIST M=??? directive. For
; example:
; LIST P=EEPROM8
; INCLUDE "MEMORY.INC"
; LIST M=_24LCS21
; Note that case sensitivity is enforced by default.
;==========================================================================
;
; Revision History
;
; Rev: Date: Reason:
; 1.02 03/25/99 Added new devices
; 1.01 12/16/96 Added new devices
; 1.00 07/18/96 Initial release
;==========================================================================
;
; Verify Processor
;
;==========================================================================
IFDEF __EEPROM8
#define __IS_MEMORY
ENDIF
IFDEF __EEPROM16
#define __IS_MEMORY
ENDIF
IFNDEF __IS_MEMORY
MESSG "Processor-header file mismatch. Verify selected processor."
ELSE
#undefine __IS_MEMORY
ENDIF
;==========================================================================
;
; 2-Wire Bus Protocol
;
;==========================================================================
;--------------------------------------------------------------------------
;
; AA Series
;
;--------------------------------------------------------------------------
#define _24AA00 H'000F'
#define _24AA01 H'007F'
#define _24AA02 H'00FF'
#define _24AA04 H'01FF'
#define _24AA08 H'03FF'
#define _24AA16 H'07FF'
#define _24AA32 H'0FFF'
#define _24AA32A H'0FFF'
#define _24AA64 H'1FFF'
#define _24AA128 H'3FFF'
#define _24AA256 H'7FFF'
#define _24AA164 H'07FF'
#define _24AA174 H'07FF'
;--------------------------------------------------------------------------
;
; C-Series
;
;--------------------------------------------------------------------------
#define _24C00 H'000F'
#define _24C01A H'007F'
#define _24C01B H'007F'
#define _24C01C H'007F'
#define _24C02A H'00FF'
#define _24C02B H'00FF'
#define _24C02C H'00FF'
#define _24C04A H'01FF'
#define _24C08B H'03FF'
#define _24C16B H'07FF'
#define _24C32 H'0FFF'
#define _24C32A H'0FFF'
#define _85C72 H'007F'
#define _85C82 H'00FF'
#define _85C92 H'01FF'
;--------------------------------------------------------------------------
;
; FC Series
;
;--------------------------------------------------------------------------
#define _24FC16 H'07FF'
#define _24FC32 H'0FFF'
;--------------------------------------------------------------------------
;
; Low-Voltage LC Series
;
;--------------------------------------------------------------------------
#define _24LC00 H'000F'
#define _24LC01B H'007F'
#define _24LC02B H'00FF'
#define _24LC04B H'01FF'
#define _24LC08B H'03FF'
#define _24LC16B H'07FF'
#define _24LC32 H'0FFF'
#define _24LC32A H'0FFF'
#define _24LC64 H'1FFF'
#define _24LC128 H'3FFF'
#define _24LC256 H'7FFF'
#define _24LC164 H'07FF'
#define _24LC174 H'07FF'
;--------------------------------------------------------------------------
;
; Smart Card Devices
;
;--------------------------------------------------------------------------
#define _24C01SC H'007F'
#define _24C02SC H'00FF'
#define _24LC32ASC H'0FFF'
#define _24LC64SC H'1FFF'
#define _24LC128SC H'3FFF'
#define _24LC256SC H'7FFF'
;--------------------------------------------------------------------------
;
; Smart Serial (tm) Family
;
;--------------------------------------------------------------------------
#define _24C65 H'1FFF'
#define _24LC65 H'1FFF'
#define _24AA65 H'1FFF'
#define _24FC65 H'1FFF'
;--------------------------------------------------------------------------
;
; VESA (tm) / DDC (tm)
;
;--------------------------------------------------------------------------
#define _24LC21 H'007F'
#define _24LC21A H'007F'
#define _24LCS21 H'007F'
#define _24LCS21A H'007F'
#define _24LC41A H'01FF'
;--------------------------------------------------------------------------
;
; SPD DIMM
;
;--------------------------------------------------------------------------
#define _24LC024 H'00FF'
#define _24LC025 H'00FF'
#define _24LCS52 H'00FF'
#define _24LCS61 H'007F'
#define _24LCS62 H'00FF'
;==========================================================================
;
; 3-Wire/4-Wire Bus Protocol
;
;==========================================================================
;--------------------------------------------------------------------------
;
; G.I.
;
;--------------------------------------------------------------------------
#define _59C11 H'007F'
;--------------------------------------------------------------------------
;
; AA Series
;
;--------------------------------------------------------------------------
#define _93AA46 H'007F'
#define _93AA56 H'00FF'
#define _93AA66 H'01FF'
#define _93AA76 H'03FF'
#define _93AA86 H'07FF'
;--------------------------------------------------------------------------
;
; C-Series
;
;--------------------------------------------------------------------------
#define _93C06 H'001F'
#define _93C46 H'007F'
#define _93C76 H'03FF'
#define _93C86 H'07FF'
;--------------------------------------------------------------------------
;
; Low-Voltage LC Series
;
;--------------------------------------------------------------------------
#define _93LC46 H'007F'
#define _93LC46A H'007F'
#define _93LC46B H'007F'
#define _93LC56 H'00FF'
#define _93LC56A H'00FF'
#define _93LC56B H'00FF'
#define _93LC66 H'01FF'
#define _93LC66A H'01FF'
#define _93LC66B H'01FF'
#define _93LC76 H'03FF'
#define _93LC86 H'07FF'
;--------------------------------------------------------------------------
;
; Secure LCS-Series
;
;--------------------------------------------------------------------------
#define _93LCS56 H'00FF'
#define _93LCS66 H'01FF'
;==========================================================================
;
; SPI Protocol
;
;==========================================================================
;--------------------------------------------------------------------------
;
; AA Series
;
;--------------------------------------------------------------------------
#define _25AA040 H'01FF'
#define _25AA080 H'03FF'
#define _25AA160 H'07FF'
#define _25AA640 H'1FFF'
#define _25AA128 H'3FFF'
#define _25AA256 H'7FFF'
;--------------------------------------------------------------------------
;
; C-Series
;
;--------------------------------------------------------------------------
#define _25C040 H'01FF'
#define _25C080 H'03FF'
#define _25C160 H'07FF'
#define _25C320 H'0FFF'
;--------------------------------------------------------------------------
;
; Low-Voltage LC Series
;
;--------------------------------------------------------------------------
#define _25LC040 H'01FF'
#define _25LC080 H'03FF'
#define _25LC160 H'07FF'
#define _25LC320 H'0FFF'
#define _25LC640 H'1FFF'
#define _25LC128 H'3FFF'
#define _25LC256 H'7FFF'
LIST
|