リロード | 新規新規 編集編集 差分差分 添付添付 バックアップバックアップ | 一覧 検索 最終更新 凍結 複製 改名 | ヘルプ | 最終更新のRSS |

 
CPLD 
http://wiki.nothing.sh/839.html

█ CPLD

Last-modified: 2015-01-11 (日) 21:38:55 / Short URL: http://wiki.nothing.sh/839.html / add to hatena bookmark 0 users / add to livedoor clip - users

LED、ボタンなどを制御/監視しているCPLDについて。

HDL-G CPLD REGISTER SPEC.

Port MAP

AreaOffsetR/WRegistor Name
CS40hR/WLED and Buzzer Control Reg.
1hR/WLED Brightness Control Reg.
2hRSwitch and Interrupt Status Reg.
3hR/WInterrupt Mask Reg.
4hWShutdown and Reset Control Reg.
5hRLAN PME Status Reg.
6hR/WFAN Contrl Reg.
7h-Reserve

LED and Buzzer Control Reg. (Read/Write)

  • Address: PB_PCE4#='0',PB_A[3:0]='0h'
  • Bits
    BITbit7bit6bit5bit4bit3bit2bit1bit0
    R/Wbuzled_hddled_usb4led_usb3led_usb2led_usb1led_errled_sts
    default00000000
  • Params
    0OFF
    1ON

LED Brightness Control Reg. (Read/Write)

  • Address: PB_PCE4#='0',PB_A[3:0]='1h'
  • Bits
    BITbit7bit6bit5bit4bit3bit2bit1bit0
    R/W------led_ctrl1led_ctrl0
    default00000011
  • Params
    led_ctrl1led_ctrl0LED LEVEL
    114(max)
    103
    012
    001(min)

Switch and Interrupt Status Reg. (Read)

  • Address: PB_PCE4#='0',PB_A[3:0]='2h'
  • Bits
    BITbit7bit6bit5bit4bit3bit2bit1bit0
    Rfan_err_nRTC_INTAnINT_UARTnSW_RSTnSW_UMNTnSW_COPYnSW_SELnSW_PWRn
  • Params
    ParamsMeanBitRequest
    SW_PWRnPower SW Status0ONOFF Request
    1OFFNO Request
    SW_SELndrive select SW status0ONSelect Request
    1OFFNO Request
    SW_COPYnUSB copy WS status0ONCopy Request
    1OFFNO Request
    SW_UMNTnUSB dismount SW status0ONdismount request
    1OFFNO Request
    SW_RSTnreset SW status0ONfactory reset request
    1OFFNO Request
    INT_UARTnUART init0-UART int request
    1-NO Request
    RTC_INTAnRTC A init0-RTC A int request
    1-NO Request
    fan_err_nFAN status0-FAN error stop
    1-normal

Interrupt Mask Reg. (Read/Write)

  • Address: PB_PCE4#='0',PB_A[3:0]='3h'
  • Bits
    BITbit7bit6bit5bit4bit3bit2bit1bit0
    R/W-rtc_intm_n----sw_m_nsw_pwrm_n
    default00000000
  • Params
    ParamsMeanBitRequest
    sw_pwrm_nPower SW int mask0-mask
    1-unmask
    sw_m_ncontrol SW(select,copy,dismount,reset) int mask0-mask
    1-unmask
    rtc_intm_nRTC int mask0-mask
    1-unmask

Shutdown Control Reg. (Write)

  • Address: PB_PCE4#='0',PB_A[3:0]='4h'
  • Bits
    BITbit7bit6bit5bit4bit3bit2bit1bit0
    W------soft_rstshtdwn
  • Params
    ParamsMeanBitRequest
    shtdwnshutdown request0-normal
    1-shutdown
    soft_rstsoftware reset request0-normal
    1-reset

LAN PME Status Reg. (Read)

  • Address: PB_PCE4#='0',PB_A[3:0]='5h'
  • Bits
    BITbit7bit6bit5bit4bit3bit2bit1bit0
    R-------LAN_PMEn
  • Params
    ParamsMeanBitRequest
    LAN_PMEn82541 LAN PME Signal0-assert
    1-deassert

FAN Control Reg. (Read/Write)

  • Address: PB_PCE4#='0',PB_A[3:0]='6h'
  • Bits
    BITbit7bit6bit5bit4bit3bit2bit1bit0
    R/W-------fan_on
    default00000001
  • Params
    ParamsMeanBitRequest
    fan_onFAN status change0OFFStop
    1ONMove
    1ONWork

GLAN Tank/HDL-GW/HDL-GZ CPLD REGISTER SPEC.

Port MAP

AreaOffsetR/WRegistor Name
CS40hR/WLED and Buzzer Control Reg.
1hR/WUnconnectionl Reg.
2hRSwitch and Interrupt Status Reg.
3hR/WInterrupt Mask Reg.
4hWShutdown and Reset Control Reg.
5hRLAN PME Status Reg.
6hR/WFAN Contrl Reg.
7h-Reserve

LED and Buzzer Control Reg. (Read/Write)

  • Address: PB_PCE4#='0',PB_A[3:0]='0h'
  • Bits
    BITbit7bit6bit5bit4bit3bit2bit1bit0
    R/Wbuzled_hddUnconnectionUnconnectionUnconnectionUnconnectionled_errled_sts
    default00000000
  • Params
    0OFF
    1ON

LED Brightness Control Reg. (Read/Write)

  • Address: PB_PCE4#='0',PB_A[3:0]='1h'
  • Bits
    BITbit7bit6bit5bit4bit3bit2bit1bit0
    R/W-------l--
    default00000011

Switch and Interrupt Status Reg. (Read)

  • Address: PB_PCE4#='0',PB_A[3:0]='2h'
  • Bits
    BITbit7bit6bit5bit4bit3bit2bit1bit0
    Rfan_err_nRTC_INTAnINT_UARTnSW_RSTnSW_UMNTnSW_COPYnSW_SELnSW_PWRn
  • Params
    ParamsMeanBitRequest
    SW_PWRnPower SW Status0ONOFF Request
    1OFFNO Request
    SW_SELndrive select SW status0ONUnconnection
    1OFFNO Request
    SW_COPYnUSB copy WS status0ONUnconnection
    1OFFNO Request
    SW_UMNTnUSB dismount SW status0ONUnconnection
    1OFFNO Request
    SW_RSTnreset SW status0ONfactory reset request
    1OFFNO Request
    INT_UARTnUART init0-UART int request
    1-NO Request
    RTC_INTAnRTC A init0-RTC A int request
    1-NO Request
    fan_err_nFAN status0-FAN error stop
    1-normal

Interrupt Mask Reg. (Read/Write)

  • Address: PB_PCE4#='0',PB_A[3:0]='3h'
  • Bits
    BITbit7bit6bit5bit4bit3bit2bit1bit0
    R/W-rtc_intm_n----sw_m_nsw_pwrm_n
    default00000000
  • Params
    ParamsMeanBitRequest
    sw_pwrm_nPower SW int mask0-mask
    1-unmask
    sw_m_ncontrol SW(select,copy,dismount,reset) int mask0-mask
    1-unmask
    rtc_intm_nRTC int mask0-mask
    1-unmask

Shutdown Control Reg. (Write)

  • Address: PB_PCE4#='0',PB_A[3:0]='4h'
  • Bits
    BITbit7bit6bit5bit4bit3bit2bit1bit0
    W------soft_rstshtdwn
  • Params
    ParamsMeanBitRequest
    shtdwnshutdown request0-normal
    1-shutdown
    soft_rstsoftware reset request0-normal
    1-reset

LAN PME Status Reg. (Read)

  • Address: PB_PCE4#='0',PB_A[3:0]='5h'
  • Bits
    BITbit7bit6bit5bit4bit3bit2bit1bit0
    R-------LAN_PMEn
  • Params
    ParamsMeanBitRequest
    LAN_PMEn82541 LAN PME Signal0-assert
    1-deassert

FAN Control Reg. (Read/Write)

  • Address: PB_PCE4#='0',PB_A[3:0]='6h'
  • Bits
    BITbit7bit6bit5bit4bit3bit2bit1bit0
    R/W-------fan_on
    default00000001
  • Params
    ParamsMeanBitRequest
    fan_onFAN status change0OFFStop

(HTML conversion costs 0.034 sec.)