MAX78002 Peripheral Driver API
Peripheral Driver API for the MAX78002
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
SDHC_Registers

Modules

 Register Offsets
 
 SDHC_SDMA
 
 SDHC_BLK_SIZE
 
 SDHC_BLK_CNT
 
 SDHC_ARG_1
 
 SDHC_TRANS
 
 SDHC_CMD
 
 SDHC_RESP
 
 SDHC_BUFFER
 
 SDHC_PRESENT
 
 SDHC_HOST_CN_1
 
 SDHC_PWR
 
 SDHC_BLK_GAP
 
 SDHC_WAKEUP
 
 SDHC_CLK_CN
 
 SDHC_TO
 
 SDHC_SW_RESET
 
 SDHC_INT_STAT
 
 SDHC_ER_INT_STAT
 
 SDHC_INT_EN
 
 SDHC_ER_INT_EN
 
 SDHC_INT_SIGNAL
 
 SDHC_ER_INT_SIGNAL
 
 SDHC_AUTO_CMD_ER
 
 SDHC_HOST_CN_2
 
 SDHC_CFG_0
 
 SDHC_CFG_1
 
 SDHC_MAX_CURR_CFG
 
 SDHC_FORCE_CMD
 
 SDHC_FORCE_EVENT_INT_STAT
 
 SDHC_ADMA_ER
 
 SDHC_ADMA_ADDR_0
 
 SDHC_ADMA_ADDR_1
 
 SDHC_PRESET_0
 
 SDHC_PRESET_1
 
 SDHC_PRESET_2
 
 SDHC_PRESET_3
 
 SDHC_PRESET_4
 
 SDHC_PRESET_5
 
 SDHC_PRESET_6
 
 SDHC_PRESET_7
 
 SDHC_SLOT_INT
 
 SDHC_HOST_CN_VER
 

Files

file  sdhc_regs.h
 

Data Structures

struct  mxc_sdhc_regs_t
 

Detailed Description

Registers, Bit Masks and Bit Positions for the SDHC Peripheral Module.

SDHC/SDIO Controller


Data Structure Documentation

◆ mxc_sdhc_regs_t

struct mxc_sdhc_regs_t

Structure type to access the SDHC Registers.

Data Fields

__IO uint32_t sdma
 
__IO uint16_t blk_size
 
__IO uint16_t blk_cnt
 
__IO uint32_t arg_1
 
__IO uint16_t trans
 
__IO uint16_t cmd
 
__IO uint32_t resp [4]
 
__IO uint32_t buffer
 
__I uint32_t present
 
__IO uint8_t host_cn_1
 
__IO uint8_t pwr
 
__IO uint8_t blk_gap
 
__IO uint8_t wakeup
 
__IO uint16_t clk_cn
 
__IO uint8_t to
 
__IO uint8_t sw_reset
 
__IO uint16_t int_stat
 
__IO uint16_t er_int_stat
 
__IO uint16_t int_en
 
__IO uint16_t er_int_en
 
__IO uint16_t int_signal
 
__IO uint16_t er_int_signal
 
__IO uint16_t auto_cmd_er
 
__IO uint16_t host_cn_2
 
__I uint32_t cfg_0
 
__I uint32_t cfg_1
 
__I uint32_t max_curr_cfg
 
__O uint16_t force_cmd
 
__IO uint16_t force_event_int_stat
 
__IO uint8_t adma_er
 
__IO uint32_t adma_addr_0
 
__IO uint32_t adma_addr_1
 
__I uint16_t preset_0
 
__I uint16_t preset_1
 
__I uint16_t preset_2
 
__I uint16_t preset_3
 
__I uint16_t preset_4
 
__I uint16_t preset_5
 
__I uint16_t preset_6
 
__I uint16_t preset_7
 
__IO uint32_t shared_bus
 
__I uint16_t slot_int
 
__IO uint16_t host_cn_ver
 

Field Documentation

◆ adma_addr_0

__IO uint32_t adma_addr_0

0x058: SDHC ADMA_ADDR_0 Register

◆ adma_addr_1

__IO uint32_t adma_addr_1

0x05C: SDHC ADMA_ADDR_1 Register

◆ adma_er

__IO uint8_t adma_er

0x054: SDHC ADMA_ER Register

◆ arg_1

__IO uint32_t arg_1

0x08: SDHC ARG_1 Register

◆ auto_cmd_er

__IO uint16_t auto_cmd_er

0x03C: SDHC AUTO_CMD_ER Register

◆ blk_cnt

__IO uint16_t blk_cnt

0x06: SDHC BLK_CNT Register

◆ blk_gap

__IO uint8_t blk_gap

0x02A: SDHC BLK_GAP Register

◆ blk_size

__IO uint16_t blk_size

0x04: SDHC BLK_SIZE Register

◆ buffer

__IO uint32_t buffer

0x20: SDHC BUFFER Register

◆ cfg_0

__I uint32_t cfg_0

0x040: SDHC CFG_0 Register

◆ cfg_1

__I uint32_t cfg_1

0x044: SDHC CFG_1 Register

◆ clk_cn

__IO uint16_t clk_cn

0x02C: SDHC CLK_CN Register

◆ cmd

__IO uint16_t cmd

0x0E: SDHC CMD Register

◆ er_int_en

__IO uint16_t er_int_en

0x36: SDHC ER_INT_EN Register

◆ er_int_signal

__IO uint16_t er_int_signal

0x03A: SDHC ER_INT_SIGNAL Register

◆ er_int_stat

__IO uint16_t er_int_stat

0x032: SDHC ER_INT_STAT Register

◆ force_cmd

__O uint16_t force_cmd

0x050: SDHC FORCE_CMD Register

◆ force_event_int_stat

__IO uint16_t force_event_int_stat

0x052: SDHC FORCE_EVENT_INT_STAT Register

◆ host_cn_1

__IO uint8_t host_cn_1

0x028: SDHC HOST_CN_1 Register

◆ host_cn_2

__IO uint16_t host_cn_2

0x03E: SDHC HOST_CN_2 Register

◆ host_cn_ver

__IO uint16_t host_cn_ver

0x0FE: SDHC HOST_CN_VER Register

◆ int_en

__IO uint16_t int_en

0x034: SDHC INT_EN Register

◆ int_signal

__IO uint16_t int_signal

0x038: SDHC INT_SIGNAL Register

◆ int_stat

__IO uint16_t int_stat

0x030: SDHC INT_STAT Register

◆ max_curr_cfg

__I uint32_t max_curr_cfg

0x048: SDHC MAX_CURR_CFG Register

◆ present

__I uint32_t present

0x024: SDHC PRESENT Register

◆ preset_0

__I uint16_t preset_0

0x060: SDHC PRESET_0 Register

◆ preset_1

__I uint16_t preset_1

0x062: SDHC PRESET_1 Register

◆ preset_2

__I uint16_t preset_2

0x064: SDHC PRESET_2 Register

◆ preset_3

__I uint16_t preset_3

0x066: SDHC PRESET_3 Register

◆ preset_4

__I uint16_t preset_4

0x068: SDHC PRESET_4 Register

◆ preset_5

__I uint16_t preset_5

0x06A: SDHC PRESET_5 Register

◆ preset_6

__I uint16_t preset_6

0x06C: SDHC PRESET_6 Register

◆ preset_7

__I uint16_t preset_7

0x06E: SDHC PRESET_7 Register

◆ pwr

__IO uint8_t pwr

0x029: SDHC PWR Register

◆ resp

__IO uint32_t resp[4]

0x010: SDHC RESP Register

◆ sdma

__IO uint32_t sdma

0x00: SDHC SDMA Register

◆ shared_bus

__IO uint32_t shared_bus

0x0E0: SDHC SHARED_BUS Register

◆ slot_int

__I uint16_t slot_int

0x0FC: SDHC SLOT_INT Register

◆ sw_reset

__IO uint8_t sw_reset

0x02F: SDHC SW_RESET Register

◆ to

__IO uint8_t to

0x02E: SDHC TO Register

◆ trans

__IO uint16_t trans

0x0C: SDHC TRANS Register

◆ wakeup

__IO uint8_t wakeup

0x02B: SDHC WAKEUP Register