Conditional compilation

Libraries ›› The DELAYS_TMR0 unit ››
Parent Previous Next

Parameter / feature

$DEFINE format

Default

Example

Requested TMR0 interrupt frequency in Hz

DELAYS_TMR0_RATE N

1000.

{$DEFINE DELAYS_TMR0_RATE 100}

Number of delay slots to implement

DELAYS_SLOTS N

1.

{$DEFINE DELAY_SLOTS 4}

Use 16-bit TMR0 when available (more precision)

DELAYS_16BIT

Undefined.

{$DEFINE DELAYS_16BIT}

Debug mode, check bounds

CHECK_BOUNDS

Undefined.

{$DEFINE CHECK_BOUNDS}

Generic SPEED optimization

OPTIMIZE SPEED

Global state.

{$OPTIMIZE SPEED}


Notes: