www.beck-ipc.com

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


Header File:         #include <HWAPI.H>

    PFE     HAL    

PFE - Pin Function Enabler Functions

pfe_enable_busEnable data bus
pfe_enable_adrEnable non-multiplexed address bus
pfe_enable_pioEnable programmable I/O pins
pfe_get_pio_stateGet programmable PIO pins state
pfe_enable_pcsEnable programmable chip selects
pfe_enable_intEnable external interrupt requests
pfe_enable_timerEnable external timer inputs/outputs
pfe_set_edge_level_intr_modeSet edge/level interrupt mode
pfe_enable_pwdEnable PWD mode
pfe_enable_external_dmaEnable external DMA
pfe_enable_int_cascade_modeEnable INT0/INTA cascade mode
pfe_set_wait_statesSet wait states for PCS0-3
pfe_set_wait_states2Set wait states for PCS5-6
pfe_get_vectorsGet Hardware API function pointers

HAL - Hardware Abstraction Layer Functions

    -- Data Bus I/O --
hal_read_busRead data bus
hal_write_busWrite data bus
hal_readblock_busBlock read data bus
hal_writeblock_busBlock write data bus
    -- PIO --
hal_read_piosRead programmable I/O pins
hal_write_piosWrite programmable I/O pins
hal_read_pioRead specific I/O pin
hal_write_pioWrite to specific I/O pin
    -- Interrupts --
hal_install_isrInstall Interrupt Service Routine
hal_install_rtx_isrInstall RTX Interrupt Service Routine
hal_give_eoiIssue EOI to interrupt controller
hal_mask_intMask/Unmask Interrupts
    -- Timer Operation --
hal_init_timerInitialize timer settings
hal_init_timer_extInitialize timer settings Ext
hal_start_timerStart timer
hal_stop_timerStop timer
hal_read_timer_countRead timer count
hal_write_timer_countWrite timer count
hal_set_duty_cycle_waveformSet timer duty cycle waveform
    -- Watchdog --
hal_set_watchdog_modeGet/Set watchdog mode
hal_refresh_watchdogRefresh watchdog
    -- DMA Control --
hal_start_dmaStart DMA mode
hal_stop_dmaStop DMA transfer
hal_get_dma_infoGet DMA info
    -- Non-Volatile Data --
hal_init_non_volatile_dataInitialize/Restore non-volatile data
hal_save_non_volatile_dataSave non-volatile data
hal_get_reboot_reasonGet reboot reason
    -- other functions --
hal_get_frequenciesGet frequencies


List of C Libraries
@CHIP-RTOS Main Index


End of document