www.beck-ipc.com

@CHIP-RTOS C Library V2.06 - Hardware API


pfe_set_wait_states

Set wait states for programmable chip selects PCS0#-PCS3#

void pfe_set_wait_states ( PFE_WAIT_STATES wait_states );

SC11/SC13 Parameters

wait_states
Enumerator specifies desired number of wait states:

typedef enum {
    PFE_0_WAIT = 0x0,
    PFE_1_WAIT = 0x1,
    PFE_2_WAIT = 0x2,
    PFE_3_WAIT = 0x3,
    PFE_5_WAIT = 0x8,
    PFE_7_WAIT = 0x9,
    PFE_9_WAIT = 0xA,
    PFE_15_WAIT = 0xB
    PFE_24_WAIT = 0x10,
    PFE_41_WAIT = 0x11,
    PFE_74_WAIT = 0x12,
    PFE_123_WAIT = 0x13,
    PFE_157_WAIT = 0x18,
    PFE_175_WAIT = 0x19,
    PFE_201_WAIT = 0x1A,
    PFE_255_WAIT = 0x1B
} PFE_WAIT_STATES ;

SC12/SC1x3 Parameters

wait_states
Enumerator specifies desired number of wait states:

typedef enum {
    PFE_0_WAIT = 0x0,
    PFE_1_WAIT = 0x1,
    PFE_2_WAIT = 0x2,
    PFE_3_WAIT = 0x3,
    PFE_5_WAIT = 0x8,
    PFE_7_WAIT = 0x9,
    PFE_9_WAIT = 0xA,
    PFE_15_WAIT = 0xB
    } PFE_WAIT_STATES ;

Return Value

-- none --.

Comments

Set wait states for programmable chip selects PCS0#-PCS3#.

SC12/SC1x3 Comments

Default for SC12/SC123/SC143 PCS0#-PCS3# is 15 wait states.
Only 0-15 waitstates can be inserted.

SC11/SC13 Comments

Default for SC11/SC13 PCS0#-PCS3# is 41 wait states.

See Also

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3
    V1.03V1.00V1.00V0.90

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document