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/ieb_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 IEB_IODEFINE_H
    3030#define IEB_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_ieb
    34 {                                                          /* IEB              */
     36#define IEB     (*(struct st_ieb     *)0xFCFEF000uL) /* IEB */
     37
     38
     39#define IEBB0BCR (IEB.B0BCR)
     40#define IEBB0PSR (IEB.B0PSR)
     41#define IEBB0UAR (IEB.B0UAR)
     42#define IEBB0SAR (IEB.B0SAR)
     43#define IEBB0PAR (IEB.B0PAR)
     44#define IEBB0RSA (IEB.B0RSA)
     45#define IEBB0CDR (IEB.B0CDR)
     46#define IEBB0TCD (IEB.B0TCD)
     47#define IEBB0RCD (IEB.B0RCD)
     48#define IEBB0DLR (IEB.B0DLR)
     49#define IEBB0TDL (IEB.B0TDL)
     50#define IEBB0RDL (IEB.B0RDL)
     51#define IEBB0CKS (IEB.B0CKS)
     52#define IEBB0TMS (IEB.B0TMS)
     53#define IEBB0PCR (IEB.B0PCR)
     54#define IEBB0BSR (IEB.B0BSR)
     55#define IEBB0SSR (IEB.B0SSR)
     56#define IEBB0USR (IEB.B0USR)
     57#define IEBB0ISR (IEB.B0ISR)
     58#define IEBB0ESR (IEB.B0ESR)
     59#define IEBB0FSR (IEB.B0FSR)
     60#define IEBB0SCR (IEB.B0SCR)
     61#define IEBB0CCR (IEB.B0CCR)
     62#define IEBB0STC0 (IEB.B0STC0)
     63#define IEBB0STC1 (IEB.B0STC1)
     64#define IEBB0DR (IEB.B0DR)
     65
     66
     67typedef struct st_ieb
     68{
     69                                                           /* IEB              */
    3570    volatile uint8_t   B0BCR;                                  /*  B0BCR           */
    3671    volatile uint8_t   dummy495[3];                            /*                  */
     
    84119    volatile uint8_t   dummy519[3];                            /*                  */
    85120    volatile uint8_t   B0DR;                                   /*  B0DR            */
    86 };
     121} r_io_ieb_t;
    87122
    88123
    89 #define IEB     (*(struct st_ieb     *)0xFCFEF000uL) /* IEB */
    90 
    91 
    92 #define IEBB0BCR IEB.B0BCR
    93 #define IEBB0PSR IEB.B0PSR
    94 #define IEBB0UAR IEB.B0UAR
    95 #define IEBB0SAR IEB.B0SAR
    96 #define IEBB0PAR IEB.B0PAR
    97 #define IEBB0RSA IEB.B0RSA
    98 #define IEBB0CDR IEB.B0CDR
    99 #define IEBB0TCD IEB.B0TCD
    100 #define IEBB0RCD IEB.B0RCD
    101 #define IEBB0DLR IEB.B0DLR
    102 #define IEBB0TDL IEB.B0TDL
    103 #define IEBB0RDL IEB.B0RDL
    104 #define IEBB0CKS IEB.B0CKS
    105 #define IEBB0TMS IEB.B0TMS
    106 #define IEBB0PCR IEB.B0PCR
    107 #define IEBB0BSR IEB.B0BSR
    108 #define IEBB0SSR IEB.B0SSR
    109 #define IEBB0USR IEB.B0USR
    110 #define IEBB0ISR IEB.B0ISR
    111 #define IEBB0ESR IEB.B0ESR
    112 #define IEBB0FSR IEB.B0FSR
    113 #define IEBB0SCR IEB.B0SCR
    114 #define IEBB0CCR IEB.B0CCR
    115 #define IEBB0STC0 IEB.B0STC0
    116 #define IEBB0STC1 IEB.B0STC1
    117 #define IEBB0DR IEB.B0DR
    118124/* <-SEC M1.10.1 */
     125/* <-MISRA 18.4 */ /* <-SEC M1.6.2 */
     126/* <-QAC 0857 */
     127/* <-QAC 0639 */
    119128#endif
Note: See TracChangeset for help on using the changeset viewer.