Kinetis SDK v.1.3 API Reference Manual
Rev. 0
Freescale Semiconductor, Inc.
|
#include <assert.h>
#include <stdint.h>
#include <stdbool.h>
#include "fsl_device_registers.h"
Data Structures | |
struct | flexbus_user_config_t |
Configuration structure that the user needs to set. More... | |
Functions | |
Configuration | |
void | FLEXBUS_HAL_Init (FB_Type *base) |
Initialization to default values. More... | |
void | FLEXBUS_HAL_Configure (FB_Type *base, const flexbus_user_config_t *userConfigPtr) |
Configure to a known values. More... | |
static void | FLEXBUS_HAL_WriteAddr (FB_Type *base, uint8_t chip, uint16_t addr, uint16_t addrMask) |
Write chip-select base address. More... | |
static void | FLEXBUS_HAL_SetChipSelectValidCmd (FB_Type *base, uint8_t chip, bool valid) |
Sets chip-selects valid bit or not. More... | |
static void | FLEXBUS_HAL_SetWriteProtectionCmd (FB_Type *base, uint8_t chip, bool enable) |
Enables or disables write protection function for Flexbus. More... | |
static void | FLEXBUS_HAL_SetBurstWriteCmd (FB_Type *base, uint8_t chip, bool enable) |
Enables or disables burst-write on Flexbus. More... | |
static void | FLEXBUS_HAL_SetBurstReadCmd (FB_Type *base, uint8_t chip, bool enable) |
Enables or disables burst-read bit on Flexbus. More... | |
static void | FLEXBUS_HAL_SetByteModeCmd (FB_Type *base, uint8_t chip, bool enable) |
Enables or disables byte-enable support on Flexbus. More... | |
static void | FLEXBUS_HAL_SetPortSize (FB_Type *base, uint8_t chip, flexbus_port_size_t size) |
Sets port size on Flexbus. More... | |
static void | FLEXBUS_HAL_SetAutoAcknowledgeCmd (FB_Type *base, uint8_t chip, bool enable) |
Enables auto-acknowledge on Flexbus. More... | |
static void | FLEXBUS_HAL_SetByteLaneShift (FB_Type *base, uint8_t chip, flexbus_bytelane_shift_t shift) |
Enables byte-lane shift on Flexbus. More... | |
static void | FLEXBUS_HAL_SetWaitStates (FB_Type *base, uint8_t chip, uint8_t waitStates) |
Sets number of wait states on Flexbus. More... | |
static void | FLEXBUS_HAL_SetWriteAddrHoldOrDeselect (FB_Type *base, uint8_t chip, flexbus_write_address_hold_t addrHold) |
Sets write address hold or deselect. More... | |
static void | FLEXBUS_HAL_SetReadAddrHoldOrDeselect (FB_Type *base, uint8_t chip, flexbus_read_address_hold_t addrHold) |
Sets read address hold or deselect. More... | |
static void | FLEXBUS_HAL_SetAddrSetup (FB_Type *base, uint8_t chip, flexbus_address_setup_t delay) |
Set address setup. More... | |
static void | FLEXBUS_HAL_SetExtendedAddrLatchCmd (FB_Type *base, uint8_t chip, bool enable) |
Enables extended address latch. More... | |
static void | FLEXBUS_HAL_SetSecondaryWaitStateCmd (FB_Type *base, uint8_t chip, bool enable) |
Enables secondary wait state. More... | |
static void | FLEXBUS_HAL_SetMultiplexControlGroup1 (FB_Type *base, flexbus_multiplex_group1_t controls) |
Multiplex group1 set. More... | |
static flexbus_multiplex_group1_t | FLEXBUS_HAL_GetMultiplexControlGroup1 (FB_Type *base) |
Multiplex group1 get. More... | |
static void | FLEXBUS_HAL_SetMultiplexControlGroup2 (FB_Type *base, flexbus_multiplex_group2_t controls) |
Multiplex group2 set. More... | |
static flexbus_multiplex_group2_t | FLEXBUS_HAL_GetMultiplexControlGroup2 (FB_Type *base) |
Multiplex group2 get. More... | |
static void | FLEXBUS_HAL_SetMultiplexControlGroup3 (FB_Type *base, flexbus_multiplex_group3_t controls) |
Multiplex group3 set. More... | |
static flexbus_multiplex_group3_t | FLEXBUS_HAL_GetMultiplexControlGroup3 (FB_Type *base) |
Multiplex group3 get. More... | |
static void | FLEXBUS_HAL_SetMultiplexControlGroup4 (FB_Type *base, flexbus_multiplex_group4_t controls) |
Multiplex group4 set. More... | |
static flexbus_multiplex_group4_t | FLEXBUS_HAL_GetMultiplexControlGroup4 (FB_Type *base) |
Multiplex group4 get. More... | |
static void | FLEXBUS_HAL_SetMultiplexControlGroup5 (FB_Type *base, flexbus_multiplex_group5_t controls) |
Multiplex group5 set. More... | |
static flexbus_multiplex_group5_t | FLEXBUS_HAL_GetMultiplexControlGroup5 (FB_Type *base) |
Multiplex group5 get. More... | |