Documentation ¶
Overview ¶
Package dbgmcu provides interface to Debug MCU.
Peripheral: DBGMCU_Periph Debug MCU. Instances:
DBGMCU mmap.DBGMCU_BASE
Registers:
0x00 32 IDCODE MCU device ID code. 0x04 32 CR Debug MCU configuration register. 0x08 32 APB1FZ Debug MCU APB1 freeze register. 0x0C 32 APB2FZ Debug MCU APB2 freeze register.
Import:
stm32/o/f746xx/mmap
Index ¶
- Constants
- Variables
- type APB1FZ
- type APB2FZ
- type CR
- type DBGMCU_Periph
- func (p *DBGMCU_Periph) BaseAddr() uintptr
- func (p *DBGMCU_Periph) DBG_SLEEP() RMCR
- func (p *DBGMCU_Periph) DBG_STANDBY() RMCR
- func (p *DBGMCU_Periph) DBG_STOP() RMCR
- func (p *DBGMCU_Periph) DEV_ID() RMIDCODE
- func (p *DBGMCU_Periph) REV_ID() RMIDCODE
- func (p *DBGMCU_Periph) TRACE_IOEN() RMCR
- func (p *DBGMCU_Periph) TRACE_MODE() RMCR
- type IDCODE
- type RAPB1FZ
- func (r *RAPB1FZ) AtomicClearBits(mask APB1FZ)
- func (r *RAPB1FZ) AtomicSetBits(mask APB1FZ)
- func (r *RAPB1FZ) AtomicStoreBits(mask, b APB1FZ)
- func (r *RAPB1FZ) Bits(mask APB1FZ) APB1FZ
- func (r *RAPB1FZ) ClearBits(mask APB1FZ)
- func (r *RAPB1FZ) Load() APB1FZ
- func (r *RAPB1FZ) SetBits(mask APB1FZ)
- func (r *RAPB1FZ) Store(b APB1FZ)
- func (r *RAPB1FZ) StoreBits(mask, b APB1FZ)
- type RAPB2FZ
- func (r *RAPB2FZ) AtomicClearBits(mask APB2FZ)
- func (r *RAPB2FZ) AtomicSetBits(mask APB2FZ)
- func (r *RAPB2FZ) AtomicStoreBits(mask, b APB2FZ)
- func (r *RAPB2FZ) Bits(mask APB2FZ) APB2FZ
- func (r *RAPB2FZ) ClearBits(mask APB2FZ)
- func (r *RAPB2FZ) Load() APB2FZ
- func (r *RAPB2FZ) SetBits(mask APB2FZ)
- func (r *RAPB2FZ) Store(b APB2FZ)
- func (r *RAPB2FZ) StoreBits(mask, b APB2FZ)
- type RCR
- type RIDCODE
- func (r *RIDCODE) AtomicClearBits(mask IDCODE)
- func (r *RIDCODE) AtomicSetBits(mask IDCODE)
- func (r *RIDCODE) AtomicStoreBits(mask, b IDCODE)
- func (r *RIDCODE) Bits(mask IDCODE) IDCODE
- func (r *RIDCODE) ClearBits(mask IDCODE)
- func (r *RIDCODE) Load() IDCODE
- func (r *RIDCODE) SetBits(mask IDCODE)
- func (r *RIDCODE) Store(b IDCODE)
- func (r *RIDCODE) StoreBits(mask, b IDCODE)
- type RMAPB1FZ
- type RMAPB2FZ
- type RMCR
- type RMIDCODE
Constants ¶
View Source
const ( DEV_IDn = 0 REV_IDn = 16 )
View Source
const ( DBG_SLEEPn = 0 DBG_STOPn = 1 DBG_STANDBYn = 2 TRACE_IOENn = 5 TRACE_MODEn = 6 )
Variables ¶
View Source
var DBGMCU = (*DBGMCU_Periph)(unsafe.Pointer(uintptr(mmap.DBGMCU_BASE)))
Functions ¶
This section is empty.
Types ¶
type DBGMCU_Periph ¶
func (*DBGMCU_Periph) BaseAddr ¶
func (p *DBGMCU_Periph) BaseAddr() uintptr
func (*DBGMCU_Periph) DBG_SLEEP ¶
func (p *DBGMCU_Periph) DBG_SLEEP() RMCR
func (*DBGMCU_Periph) DBG_STANDBY ¶
func (p *DBGMCU_Periph) DBG_STANDBY() RMCR
func (*DBGMCU_Periph) DBG_STOP ¶
func (p *DBGMCU_Periph) DBG_STOP() RMCR
func (*DBGMCU_Periph) DEV_ID ¶
func (p *DBGMCU_Periph) DEV_ID() RMIDCODE
func (*DBGMCU_Periph) REV_ID ¶
func (p *DBGMCU_Periph) REV_ID() RMIDCODE
func (*DBGMCU_Periph) TRACE_IOEN ¶
func (p *DBGMCU_Periph) TRACE_IOEN() RMCR
func (*DBGMCU_Periph) TRACE_MODE ¶
func (p *DBGMCU_Periph) TRACE_MODE() RMCR
type RAPB1FZ ¶
func (*RAPB1FZ) AtomicClearBits ¶
func (*RAPB1FZ) AtomicSetBits ¶
func (*RAPB1FZ) AtomicStoreBits ¶
type RAPB2FZ ¶
func (*RAPB2FZ) AtomicClearBits ¶
func (*RAPB2FZ) AtomicSetBits ¶
func (*RAPB2FZ) AtomicStoreBits ¶
type RIDCODE ¶
func (*RIDCODE) AtomicClearBits ¶
func (*RIDCODE) AtomicSetBits ¶
func (*RIDCODE) AtomicStoreBits ¶
Click to show internal directories.
Click to hide internal directories.