[][src]Type Definition lpc82x_pac::mtb_sfr::flow::R

type R = R<u32, FLOW>;

Reader of register FLOW

Methods

impl R[src]

pub fn autostop(&self) -> AUTOSTOP_R[src]

Bit 0 - If this bit is 1 and WATERMARK is equal to POSITION.POINTER, then the MASTER.EN bit is automatically set to 0. This stops tracing.

pub fn autohalt(&self) -> AUTOHALT_R[src]

Bit 1 - If this bit is 1 and WATERMARK is equal to POSITION.POINTER, then the MASTER.HALTREQ bit is automatically set to 1. If the DBGEN signal is HIGH, the MTB asserts this halt request to the Cortex-M0+ processor by asserting the EDBGRQ signal.

pub fn watermark(&self) -> WATERMARK_R[src]

Bits 3:31 - WATERMARK value. This field contains an address in the same format as the POSITION.POINTER field. When the POSITION.POINTER matches the WATERMARK field value, actions defined by the AUTOHALT and AUTOSTOP bits are performed.