Ignore:
Timestamp:
Apr 5, 2019, 9:26:53 PM (5 years ago)
Author:
coas-nagasima
Message:

mbed関連を更新
シリアルドライバをmbedのHALを使うよう変更
ファイルディスクリプタの処理を更新

Location:
asp3_tinet_ecnl_arm/trunk/asp3_dcre/mbed/targets/TARGET_RENESAS/TARGET_RZA1XX
Files:
1 added
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • asp3_tinet_ecnl_arm/trunk/asp3_dcre/mbed/targets/TARGET_RENESAS/TARGET_RZA1XX/TARGET_RZ_A1H/device/inc/iodefines/flctl_iodefine.h

    r352 r374  
    1919* following link:
    2020* http://www.renesas.com/disclaimer*
    21 * Copyright (C) 2013-2014 Renesas Electronics Corporation. All rights reserved.
     21* Copyright (C) 2013-2015 Renesas Electronics Corporation. All rights reserved.
    2222*******************************************************************************/
    2323/*******************************************************************************
     
    2525* $Rev: $
    2626* $Date::                           $
    27 * Description : Definition of I/O Register (V1.00a)
     27* Description : Definition of I/O Register for RZ/A1H,M (V2.00h)
    2828******************************************************************************/
    2929#ifndef FLCTL_IODEFINE_H
    3030#define FLCTL_IODEFINE_H
     31/* ->QAC 0639 : Over 127 members (C90) */
     32/* ->QAC 0857 : Over 1024 #define (C90) */
     33/* ->MISRA 18.4 : Pack unpack union */ /* ->SEC M1.6.2 */
    3134/* ->SEC M1.10.1 : Not magic number */
    3235
    33 struct st_flctl
    34 {                                                          /* FLCTL            */
     36#define FLCTL   (*(struct st_flctl   *)0xFCFF4000uL) /* FLCTL */
     37
     38
     39#define FLCTLFLCMNCR (FLCTL.FLCMNCR)
     40#define FLCTLFLCMDCR (FLCTL.FLCMDCR)
     41#define FLCTLFLCMCDR (FLCTL.FLCMCDR)
     42#define FLCTLFLADR (FLCTL.FLADR)
     43#define FLCTLFLDATAR (FLCTL.FLDATAR)
     44#define FLCTLFLDTCNTR (FLCTL.FLDTCNTR)
     45#define FLCTLFLINTDMACR (FLCTL.FLINTDMACR)
     46#define FLCTLFLBSYTMR (FLCTL.FLBSYTMR)
     47#define FLCTLFLBSYCNT (FLCTL.FLBSYCNT)
     48#define FLCTLFLTRCR (FLCTL.FLTRCR)
     49#define FLCTLFLADR2 (FLCTL.FLADR2)
     50#define FLCTLFLDTFIFO (FLCTL.FLDTFIFO)
     51
     52
     53typedef struct st_flctl
     54{
     55                                                           /* FLCTL            */
    3556    volatile uint32_t  FLCMNCR;                                /*  FLCMNCR         */
    3657    volatile uint32_t  FLCMDCR;                                /*  FLCMDCR         */
     
    4869    volatile uint8_t   dummy557[16];                           /*                  */
    4970    volatile uint32_t  FLDTFIFO;                               /*  FLDTFIFO        */
    50     volatile uint8_t   dummy558[12];                           /*                  */
    51     volatile uint32_t  FLECFIFO;                               /*  FLECFIFO        */
    52 };
     71} r_io_flctl_t;
    5372
    5473
    55 #define FLCTL   (*(struct st_flctl   *)0xFCFF4000uL) /* FLCTL */
    56 
    57 
    58 #define FLCTLFLCMNCR FLCTL.FLCMNCR
    59 #define FLCTLFLCMDCR FLCTL.FLCMDCR
    60 #define FLCTLFLCMCDR FLCTL.FLCMCDR
    61 #define FLCTLFLADR FLCTL.FLADR
    62 #define FLCTLFLDATAR FLCTL.FLDATAR
    63 #define FLCTLFLDTCNTR FLCTL.FLDTCNTR
    64 #define FLCTLFLINTDMACR FLCTL.FLINTDMACR
    65 #define FLCTLFLBSYTMR FLCTL.FLBSYTMR
    66 #define FLCTLFLBSYCNT FLCTL.FLBSYCNT
    67 #define FLCTLFLTRCR FLCTL.FLTRCR
    68 #define FLCTLFLADR2 FLCTL.FLADR2
    69 #define FLCTLFLDTFIFO FLCTL.FLDTFIFO
    70 #define FLCTLFLECFIFO FLCTL.FLECFIFO
    7174/* <-SEC M1.10.1 */
     75/* <-MISRA 18.4 */ /* <-SEC M1.6.2 */
     76/* <-QAC 0857 */
     77/* <-QAC 0639 */
    7278#endif
Note: See TracChangeset for help on using the changeset viewer.