Changeset 429 for EcnlProtoTool/trunk/asp3_dcre/include/sil.h
- Timestamp:
- Jul 3, 2020, 7:19:17 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/asp3_dcre/include/sil.h
r321 r429 5 5 * Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory 6 6 * Toyohashi Univ. of Technology, JAPAN 7 * Copyright (C) 2004-201 1by Embedded and Real-Time Systems Laboratory7 * Copyright (C) 2004-2018 by Embedded and Real-Time Systems Laboratory 8 8 * Graduate School of Information Science, Nagoya Univ., JAPAN 9 9 * … … 276 276 #endif /* TOPPERS_OMIT_SIL_ACCESS */ 277 277 278 #ifndef TOPPERS_OMIT_SIL_SYNC_WRITE 279 280 /* 281 * 8ビット単位の同期書込み 282 */ 283 #ifdef UINT8_MAX 284 285 Inline void 286 sil_swrb_mem(uint8_t *mem, uint8_t data) 287 { 288 sil_wrb_mem(mem, data); 289 TOPPERS_SIL_WRITE_SYNC(); 290 } 291 292 #endif /* UINT8_MAX */ 293 294 /* 295 * 16ビット単位の同期書込み 296 */ 297 298 Inline void 299 sil_swrh_mem(uint16_t *mem, uint16_t data) 300 { 301 sil_wrh_mem(mem, data); 302 TOPPERS_SIL_WRITE_SYNC(); 303 } 304 305 Inline void 306 sil_swrh_lem(uint16_t *mem, uint16_t data) 307 { 308 sil_wrh_lem(mem, data); 309 TOPPERS_SIL_WRITE_SYNC(); 310 } 311 312 Inline void 313 sil_swrh_bem(uint16_t *mem, uint16_t data) 314 { 315 sil_wrh_bem(mem, data); 316 TOPPERS_SIL_WRITE_SYNC(); 317 } 318 319 /* 320 * 32ビット単位の同期書込み 321 */ 322 323 Inline void 324 sil_swrw_mem(uint32_t *mem, uint32_t data) 325 { 326 sil_wrw_mem(mem, data); 327 TOPPERS_SIL_WRITE_SYNC(); 328 } 329 330 Inline void 331 sil_swrw_lem(uint32_t *mem, uint32_t data) 332 { 333 sil_wrw_lem(mem, data); 334 TOPPERS_SIL_WRITE_SYNC(); 335 } 336 337 Inline void 338 sil_swrw_bem(uint32_t *mem, uint32_t data) 339 { 340 sil_wrw_bem(mem, data); 341 TOPPERS_SIL_WRITE_SYNC(); 342 } 343 344 #endif /* TOPPERS_OMIT_SIL_SYNC_WRITE */ 345 278 346 #endif /* TOPPERS_MACRO_ONLY */ 279 347
Note:
See TracChangeset
for help on using the changeset viewer.