RTEMS 6.1-rc5
|
Data Structures | |
struct | _flexio_mculcd_type |
Define FlexIO MCULCD access structure typedef. More... | |
struct | _flexio_mculcd_config |
Define FlexIO MCULCD configuration structure. More... | |
struct | _flexio_mculcd_transfer |
Define FlexIO MCULCD transfer structure. More... | |
struct | _flexio_mculcd_handle |
Define FlexIO MCULCD handle structure. More... | |
Driver version | |
enum | { kStatus_FLEXIO_MCULCD_Idle = MAKE_STATUS(kStatusGroup_FLEXIO_MCULCD, 0) , kStatus_FLEXIO_MCULCD_Busy = MAKE_STATUS(kStatusGroup_FLEXIO_MCULCD, 1) , kStatus_FLEXIO_MCULCD_Error = MAKE_STATUS(kStatusGroup_FLEXIO_MCULCD, 2) } |
FlexIO LCD transfer status. More... | |
enum | _flexio_mculcd_pixel_format { kFLEXIO_MCULCD_RGB565 = 0 , kFLEXIO_MCULCD_BGR565 , kFLEXIO_MCULCD_RGB888 , kFLEXIO_MCULCD_BGR888 } |
Define FlexIO MCULCD pixel format. More... | |
enum | _flexio_mculcd_bus { kFLEXIO_MCULCD_8080 , kFLEXIO_MCULCD_6800 } |
Define FlexIO MCULCD bus type. More... | |
enum | _flexio_mculcd_interrupt_enable { kFLEXIO_MCULCD_TxEmptyInterruptEnable = (1U << 0U) , kFLEXIO_MCULCD_RxFullInterruptEnable = (1U << 1U) } |
Define FlexIO MCULCD interrupt mask. More... | |
enum | _flexio_mculcd_status_flags { kFLEXIO_MCULCD_TxEmptyFlag = (1U << 0U) , kFLEXIO_MCULCD_RxFullFlag = (1U << 1U) } |
Define FlexIO MCULCD status mask. More... | |
enum | _flexio_mculcd_dma_enable { kFLEXIO_MCULCD_TxDmaEnable = 0x1U , kFLEXIO_MCULCD_RxDmaEnable = 0x2U } |
Define FlexIO MCULCD DMA mask. More... | |
enum | _flexio_mculcd_transfer_mode { kFLEXIO_MCULCD_ReadArray , kFLEXIO_MCULCD_WriteArray , kFLEXIO_MCULCD_WriteSameValue } |
Transfer mode. More... | |
typedef enum _flexio_mculcd_pixel_format | flexio_mculcd_pixel_format_t |
Define FlexIO MCULCD pixel format. | |
typedef enum _flexio_mculcd_bus | flexio_mculcd_bus_t |
Define FlexIO MCULCD bus type. | |
typedef void(* | flexio_mculcd_pin_func_t) (bool set) |
Function to set or clear the CS and RS pin. | |
typedef struct _flexio_mculcd_type | FLEXIO_MCULCD_Type |
Define FlexIO MCULCD access structure typedef. | |
typedef struct _flexio_mculcd_config | flexio_mculcd_config_t |
Define FlexIO MCULCD configuration structure. | |
typedef enum _flexio_mculcd_transfer_mode | flexio_mculcd_transfer_mode_t |
Transfer mode. | |
typedef struct _flexio_mculcd_transfer | flexio_mculcd_transfer_t |
Define FlexIO MCULCD transfer structure. | |
typedef struct _flexio_mculcd_handle | flexio_mculcd_handle_t |
typedef for flexio_mculcd_handle_t in advance. | |
typedef void(* | flexio_mculcd_transfer_callback_t) (FLEXIO_MCULCD_Type *base, flexio_mculcd_handle_t *handle, status_t status, void *userData) |
FlexIO MCULCD callback for finished transfer. | |
#define | FSL_FLEXIO_MCULCD_DRIVER_VERSION (MAKE_VERSION(2, 0, 7)) |
FlexIO MCULCD driver version. | |
#define | FLEXIO_MCULCD_WAIT_COMPLETE_TIME 512 |
The delay time to wait for FLEXIO transmit complete. | |
#define | FLEXIO_MCULCD_DATA_BUS_WIDTH 16UL |
The data bus width, must be 8 or 16. | |
FlexIO MCULCD Configuration | |
status_t | FLEXIO_MCULCD_Init (FLEXIO_MCULCD_Type *base, flexio_mculcd_config_t *config, uint32_t srcClock_Hz) |
Ungates the FlexIO clock, resets the FlexIO module, configures the FlexIO MCULCD hardware, and configures the FlexIO MCULCD with FlexIO MCULCD configuration. The configuration structure can be filled by the user, or be set with default values by the FLEXIO_MCULCD_GetDefaultConfig. | |
void | FLEXIO_MCULCD_Deinit (FLEXIO_MCULCD_Type *base) |
Resets the FLEXIO_MCULCD timer and shifter configuration. | |
void | FLEXIO_MCULCD_GetDefaultConfig (flexio_mculcd_config_t *config) |
Gets the default configuration to configure the FlexIO MCULCD. | |
Status | |
uint32_t | FLEXIO_MCULCD_GetStatusFlags (FLEXIO_MCULCD_Type *base) |
Gets FlexIO MCULCD status flags. | |
void | FLEXIO_MCULCD_ClearStatusFlags (FLEXIO_MCULCD_Type *base, uint32_t mask) |
Clears FlexIO MCULCD status flags. | |
Interrupts | |
void | FLEXIO_MCULCD_EnableInterrupts (FLEXIO_MCULCD_Type *base, uint32_t mask) |
Enables the FlexIO MCULCD interrupt. | |
void | FLEXIO_MCULCD_DisableInterrupts (FLEXIO_MCULCD_Type *base, uint32_t mask) |
Disables the FlexIO MCULCD interrupt. | |
Bus Operations | |
status_t | FLEXIO_MCULCD_SetBaudRate (FLEXIO_MCULCD_Type *base, uint32_t baudRate_Bps, uint32_t srcClock_Hz) |
Set desired baud rate. | |
void | FLEXIO_MCULCD_SetSingleBeatWriteConfig (FLEXIO_MCULCD_Type *base) |
Configures the FLEXIO MCULCD to multiple beats write mode. | |
void | FLEXIO_MCULCD_ClearSingleBeatWriteConfig (FLEXIO_MCULCD_Type *base) |
Clear the FLEXIO MCULCD multiple beats write mode configuration. | |
void | FLEXIO_MCULCD_SetSingleBeatReadConfig (FLEXIO_MCULCD_Type *base) |
Configures the FLEXIO MCULCD to multiple beats read mode. | |
void | FLEXIO_MCULCD_ClearSingleBeatReadConfig (FLEXIO_MCULCD_Type *base) |
Clear the FLEXIO MCULCD multiple beats read mode configuration. | |
void | FLEXIO_MCULCD_SetMultiBeatsWriteConfig (FLEXIO_MCULCD_Type *base) |
Configures the FLEXIO MCULCD to multiple beats write mode. | |
void | FLEXIO_MCULCD_ClearMultiBeatsWriteConfig (FLEXIO_MCULCD_Type *base) |
Clear the FLEXIO MCULCD multiple beats write mode configuration. | |
void | FLEXIO_MCULCD_SetMultiBeatsReadConfig (FLEXIO_MCULCD_Type *base) |
Configures the FLEXIO MCULCD to multiple beats read mode. | |
void | FLEXIO_MCULCD_ClearMultiBeatsReadConfig (FLEXIO_MCULCD_Type *base) |
Clear the FLEXIO MCULCD multiple beats read mode configuration. | |
uint32_t | FLEXIO_MCULCD_ReadData (FLEXIO_MCULCD_Type *base) |
Read data from the FLEXIO MCULCD RX shifter buffer. | |
void | FLEXIO_MCULCD_WaitTransmitComplete (void) |
Wait for transmit data send out finished. | |
void | FLEXIO_MCULCD_WriteCommandBlocking (FLEXIO_MCULCD_Type *base, uint32_t command) |
Send command in blocking way. | |
void | FLEXIO_MCULCD_WriteDataArrayBlocking (FLEXIO_MCULCD_Type *base, const void *data, size_t size) |
Send data array in blocking way. | |
void | FLEXIO_MCULCD_ReadDataArrayBlocking (FLEXIO_MCULCD_Type *base, void *data, size_t size) |
Read data into array in blocking way. | |
void | FLEXIO_MCULCD_WriteSameValueBlocking (FLEXIO_MCULCD_Type *base, uint32_t sameValue, size_t size) |
Send the same value many times in blocking way. | |
void | FLEXIO_MCULCD_TransferBlocking (FLEXIO_MCULCD_Type *base, flexio_mculcd_transfer_t *xfer) |
Performs a polling transfer. | |
Transactional | |
status_t | FLEXIO_MCULCD_TransferCreateHandle (FLEXIO_MCULCD_Type *base, flexio_mculcd_handle_t *handle, flexio_mculcd_transfer_callback_t callback, void *userData) |
Initializes the FlexIO MCULCD handle, which is used in transactional functions. | |
status_t | FLEXIO_MCULCD_TransferNonBlocking (FLEXIO_MCULCD_Type *base, flexio_mculcd_handle_t *handle, flexio_mculcd_transfer_t *xfer) |
Transfer data using IRQ. | |
void | FLEXIO_MCULCD_TransferAbort (FLEXIO_MCULCD_Type *base, flexio_mculcd_handle_t *handle) |
Aborts the data transfer, which used IRQ. | |
status_t | FLEXIO_MCULCD_TransferGetCount (FLEXIO_MCULCD_Type *base, flexio_mculcd_handle_t *handle, size_t *count) |
Gets the data transfer status which used IRQ. | |
void | FLEXIO_MCULCD_TransferHandleIRQ (void *base, void *handle) |
FlexIO MCULCD IRQ handler function. | |
#define FLEXIO_MCULCD_WAIT_COMPLETE_TIME 512 |
The delay time to wait for FLEXIO transmit complete.
Currently there is no method to detect whether the data has been sent out from the shifter, so the driver use a software delay for this. When the data is written to shifter buffer, the driver call the delay function to wait for the data shift out. If this value is too small, then the last few bytes might be lost when writing data using interrupt method or DMA method.
typedef void(* flexio_mculcd_transfer_callback_t) (FLEXIO_MCULCD_Type *base, flexio_mculcd_handle_t *handle, status_t status, void *userData) |
FlexIO MCULCD callback for finished transfer.
When transfer finished, the callback function is called and returns the status
as kStatus_FLEXIO_MCULCD_Idle.
anonymous enum |
enum _flexio_mculcd_bus |
void FLEXIO_MCULCD_ClearMultiBeatsReadConfig | ( | FLEXIO_MCULCD_Type * | base | ) |
Clear the FLEXIO MCULCD multiple beats read mode configuration.
Clear the read configuration set by FLEXIO_MCULCD_SetMultBeatsReadConfig.
base | Pointer to the FLEXIO_MCULCD_Type. |
void FLEXIO_MCULCD_ClearMultiBeatsWriteConfig | ( | FLEXIO_MCULCD_Type * | base | ) |
Clear the FLEXIO MCULCD multiple beats write mode configuration.
Clear the write configuration set by FLEXIO_MCULCD_SetMultBeatsWriteConfig.
base | Pointer to the FLEXIO_MCULCD_Type. |
void FLEXIO_MCULCD_ClearSingleBeatReadConfig | ( | FLEXIO_MCULCD_Type * | base | ) |
Clear the FLEXIO MCULCD multiple beats read mode configuration.
Clear the read configuration set by FLEXIO_MCULCD_SetSingleBeatReadConfig.
base | Pointer to the FLEXIO_MCULCD_Type. |
void FLEXIO_MCULCD_ClearSingleBeatWriteConfig | ( | FLEXIO_MCULCD_Type * | base | ) |
Clear the FLEXIO MCULCD multiple beats write mode configuration.
Clear the write configuration set by FLEXIO_MCULCD_SetSingleBeatWriteConfig.
base | Pointer to the FLEXIO_MCULCD_Type. |
void FLEXIO_MCULCD_ClearStatusFlags | ( | FLEXIO_MCULCD_Type * | base, |
uint32_t | mask | ||
) |
Clears FlexIO MCULCD status flags.
base | Pointer to the FLEXIO_MCULCD_Type structure. |
mask | Status to clear, it is the OR'ed value of _flexio_mculcd_status_flags. |
void FLEXIO_MCULCD_Deinit | ( | FLEXIO_MCULCD_Type * | base | ) |
Resets the FLEXIO_MCULCD timer and shifter configuration.
base | Pointer to the FLEXIO_MCULCD_Type. |
void FLEXIO_MCULCD_DisableInterrupts | ( | FLEXIO_MCULCD_Type * | base, |
uint32_t | mask | ||
) |
Disables the FlexIO MCULCD interrupt.
This function disables the FlexIO MCULCD interrupt.
base | Pointer to the FLEXIO_MCULCD_Type structure. |
mask | Interrupts to disable, it is the OR'ed value of _flexio_mculcd_interrupt_enable. |
void FLEXIO_MCULCD_EnableInterrupts | ( | FLEXIO_MCULCD_Type * | base, |
uint32_t | mask | ||
) |
Enables the FlexIO MCULCD interrupt.
This function enables the FlexIO MCULCD interrupt.
base | Pointer to the FLEXIO_MCULCD_Type structure. |
mask | Interrupts to enable, it is the OR'ed value of _flexio_mculcd_interrupt_enable. |
void FLEXIO_MCULCD_GetDefaultConfig | ( | flexio_mculcd_config_t * | config | ) |
Gets the default configuration to configure the FlexIO MCULCD.
The default configuration value is:
config | Pointer to the flexio_mculcd_config_t structure. |
uint32_t FLEXIO_MCULCD_GetStatusFlags | ( | FLEXIO_MCULCD_Type * | base | ) |
Gets FlexIO MCULCD status flags.
base | Pointer to the FLEXIO_MCULCD_Type structure. |
status_t FLEXIO_MCULCD_Init | ( | FLEXIO_MCULCD_Type * | base, |
flexio_mculcd_config_t * | config, | ||
uint32_t | srcClock_Hz | ||
) |
Ungates the FlexIO clock, resets the FlexIO module, configures the FlexIO MCULCD hardware, and configures the FlexIO MCULCD with FlexIO MCULCD configuration. The configuration structure can be filled by the user, or be set with default values by the FLEXIO_MCULCD_GetDefaultConfig.
base | Pointer to the FLEXIO_MCULCD_Type structure. |
config | Pointer to the flexio_mculcd_config_t structure. |
srcClock_Hz | FlexIO source clock in Hz. |
kStatus_Success | Initialization success. |
kStatus_InvalidArgument | Initialization failed because of invalid argument. |
uint32_t FLEXIO_MCULCD_ReadData | ( | FLEXIO_MCULCD_Type * | base | ) |
Read data from the FLEXIO MCULCD RX shifter buffer.
Read data from the RX shift buffer directly, it does no check whether the buffer is empty or not.
If the data bus width is 8-bit:
If the data bus width is 16-bit:
base | Pointer to the FLEXIO_MCULCD_Type structure. |
void FLEXIO_MCULCD_ReadDataArrayBlocking | ( | FLEXIO_MCULCD_Type * | base, |
void * | data, | ||
size_t | size | ||
) |
Read data into array in blocking way.
This function reads the data into array and returns when the data read finished.
base | Pointer to the FLEXIO_MCULCD_Type structure. |
data | The array to save the data. |
size | How many bytes to read. |
status_t FLEXIO_MCULCD_SetBaudRate | ( | FLEXIO_MCULCD_Type * | base, |
uint32_t | baudRate_Bps, | ||
uint32_t | srcClock_Hz | ||
) |
Set desired baud rate.
base | Pointer to the FLEXIO_MCULCD_Type structure. |
baudRate_Bps | Desired baud rate. |
srcClock_Hz | FLEXIO clock frequency in Hz. |
kStatus_Success | Set successfully. |
kStatus_InvalidArgument | Could not set the baud rate. |
void FLEXIO_MCULCD_SetMultiBeatsReadConfig | ( | FLEXIO_MCULCD_Type * | base | ) |
Configures the FLEXIO MCULCD to multiple beats read mode.
At the begining or multiple beats read operation, the FLEXIO MCULCD is configured to multiple beats read mode using this function. After read operation, the configuration is cleared by FLEXIO_MCULCD_ClearMultBeatsReadConfig.
base | Pointer to the FLEXIO_MCULCD_Type. |
void FLEXIO_MCULCD_SetMultiBeatsWriteConfig | ( | FLEXIO_MCULCD_Type * | base | ) |
Configures the FLEXIO MCULCD to multiple beats write mode.
At the begining multiple beats write operation, the FLEXIO MCULCD is configured to multiple beats write mode using this function. After write operation, the configuration is cleared by FLEXIO_MCULCD_ClearMultBeatsWriteConfig.
base | Pointer to the FLEXIO_MCULCD_Type. |
void FLEXIO_MCULCD_SetSingleBeatReadConfig | ( | FLEXIO_MCULCD_Type * | base | ) |
Configures the FLEXIO MCULCD to multiple beats read mode.
At the begining or multiple beats read operation, the FLEXIO MCULCD is configured to multiple beats read mode using this function. After read operation, the configuration is cleared by FLEXIO_MCULCD_ClearSingleBeatReadConfig.
base | Pointer to the FLEXIO_MCULCD_Type. |
void FLEXIO_MCULCD_SetSingleBeatWriteConfig | ( | FLEXIO_MCULCD_Type * | base | ) |
Configures the FLEXIO MCULCD to multiple beats write mode.
At the begining multiple beats write operation, the FLEXIO MCULCD is configured to multiple beats write mode using this function. After write operation, the configuration is cleared by FLEXIO_MCULCD_ClearSingleBeatWriteConfig.
base | Pointer to the FLEXIO_MCULCD_Type. |
void FLEXIO_MCULCD_TransferAbort | ( | FLEXIO_MCULCD_Type * | base, |
flexio_mculcd_handle_t * | handle | ||
) |
Aborts the data transfer, which used IRQ.
base | Pointer to the FLEXIO_MCULCD_Type structure. |
handle | Pointer to the flexio_mculcd_handle_t structure to store the transfer state. |
void FLEXIO_MCULCD_TransferBlocking | ( | FLEXIO_MCULCD_Type * | base, |
flexio_mculcd_transfer_t * | xfer | ||
) |
Performs a polling transfer.
base | pointer to FLEXIO_MCULCD_Type structure. |
xfer | pointer to flexio_mculcd_transfer_t structure. |
status_t FLEXIO_MCULCD_TransferCreateHandle | ( | FLEXIO_MCULCD_Type * | base, |
flexio_mculcd_handle_t * | handle, | ||
flexio_mculcd_transfer_callback_t | callback, | ||
void * | userData | ||
) |
Initializes the FlexIO MCULCD handle, which is used in transactional functions.
base | Pointer to the FLEXIO_MCULCD_Type structure. |
handle | Pointer to the flexio_mculcd_handle_t structure to store the transfer state. |
callback | The callback function. |
userData | The parameter of the callback function. |
kStatus_Success | Successfully create the handle. |
kStatus_OutOfRange | The FlexIO type/handle/ISR table out of range. |
status_t FLEXIO_MCULCD_TransferGetCount | ( | FLEXIO_MCULCD_Type * | base, |
flexio_mculcd_handle_t * | handle, | ||
size_t * | count | ||
) |
Gets the data transfer status which used IRQ.
base | Pointer to the FLEXIO_MCULCD_Type structure. |
handle | Pointer to the flexio_mculcd_handle_t structure to store the transfer state. |
count | How many bytes transferred so far by the non-blocking transaction. |
kStatus_Success | Get the transferred count Successfully. |
kStatus_NoTransferInProgress | No transfer in process. |
void FLEXIO_MCULCD_TransferHandleIRQ | ( | void * | base, |
void * | handle | ||
) |
FlexIO MCULCD IRQ handler function.
base | Pointer to the FLEXIO_MCULCD_Type structure. |
handle | Pointer to the flexio_mculcd_handle_t structure to store the transfer state. |
status_t FLEXIO_MCULCD_TransferNonBlocking | ( | FLEXIO_MCULCD_Type * | base, |
flexio_mculcd_handle_t * | handle, | ||
flexio_mculcd_transfer_t * | xfer | ||
) |
Transfer data using IRQ.
This function sends data using IRQ. This is a non-blocking function, which returns right away. When all data is sent out/received, the callback function is called.
base | Pointer to the FLEXIO_MCULCD_Type structure. |
handle | Pointer to the flexio_mculcd_handle_t structure to store the transfer state. |
xfer | FlexIO MCULCD transfer structure. See flexio_mculcd_transfer_t. |
kStatus_Success | Successfully start a transfer. |
kStatus_InvalidArgument | Input argument is invalid. |
kStatus_FLEXIO_MCULCD_Busy | MCULCD is busy with another transfer. |
void FLEXIO_MCULCD_WaitTransmitComplete | ( | void | ) |
Wait for transmit data send out finished.
Currently there is no effective method to wait for the data send out from the shiter, so here use a while loop to wait.
void FLEXIO_MCULCD_WriteCommandBlocking | ( | FLEXIO_MCULCD_Type * | base, |
uint32_t | command | ||
) |
Send command in blocking way.
This function sends the command and returns when the command has been sent out.
base | Pointer to the FLEXIO_MCULCD_Type structure. |
command | The command to send. |
void FLEXIO_MCULCD_WriteDataArrayBlocking | ( | FLEXIO_MCULCD_Type * | base, |
const void * | data, | ||
size_t | size | ||
) |
Send data array in blocking way.
This function sends the data array and returns when the data sent out.
base | Pointer to the FLEXIO_MCULCD_Type structure. |
data | The data array to send. |
size | How many bytes to write. |
void FLEXIO_MCULCD_WriteSameValueBlocking | ( | FLEXIO_MCULCD_Type * | base, |
uint32_t | sameValue, | ||
size_t | size | ||
) |
Send the same value many times in blocking way.
This function sends the same value many times. It could be used to clear the LCD screen. If the data bus width is 8, this function will send LSB 8 bits of sameValue
for size
times. If the data bus is 16, this function will send LSB 16 bits of sameValue
for size
/ 2 times.
base | Pointer to the FLEXIO_MCULCD_Type structure. |
sameValue | The same value to send. |
size | How many bytes to send. |
uint32_t _flexio_mculcd_config::baudRate_Bps |
Baud rate in Bps.
flexio_mculcd_bus_t _flexio_mculcd_type::busType |
The bus type, 8080 or 6800.
uint32_t _flexio_mculcd_transfer::command |
Command to send.
flexio_mculcd_transfer_callback_t _flexio_mculcd_handle::completionCallback |
FlexIO MCULCD transfer completed callback.
uint32_t _flexio_mculcd_transfer::dataAddrOrSameValue |
When sending the same value for many times, this is the value to send. When writing or reading array, this is the address of the data array.
uint32_t _flexio_mculcd_handle::dataAddrOrSameValue |
When sending the same value for many times, this is the value to send. When writing or reading array, this is the address of the data array.
size_t _flexio_mculcd_handle::dataCount |
Total count to be transferred.
uint8_t _flexio_mculcd_type::dataPinStartIndex |
Start index of the data pin, the FlexIO pin dataPinStartIndex to (dataPinStartIndex + FLEXIO_MCULCD_DATA_BUS_WIDTH -1) will be used for data transfer. Only support data bus width 8 and 16.
size_t _flexio_mculcd_transfer::dataSize |
How many bytes to transfer.
bool _flexio_mculcd_config::enable |
Enable/disable FlexIO MCULCD after configuration.
bool _flexio_mculcd_config::enableFastAccess |
Enable/disable fast access to FlexIO registers, fast access requires the FlexIO clock to be at least twice the frequency of the bus clock.
bool _flexio_mculcd_config::enableInDebug |
Enable/disable FlexIO operation in debug mode.
bool _flexio_mculcd_config::enableInDoze |
Enable/disable FlexIO operation in doze mode.
uint8_t _flexio_mculcd_type::ENWRPinIndex |
Pin select for WR(8080 mode), EN(6800 mode).
FLEXIO_Type* _flexio_mculcd_type::flexioBase |
FlexIO base pointer.
flexio_mculcd_transfer_mode_t _flexio_mculcd_transfer::mode |
Transfer mode.
uint8_t _flexio_mculcd_type::RDPinIndex |
Pin select for RD(8080 mode), not used in 6800 mode.
volatile size_t _flexio_mculcd_handle::remainingCount |
Remaining count to transfer.
uint8_t _flexio_mculcd_type::rxShifterEndIndex |
End index of shifters used for data read, it must be 3 or 7.
uint8_t _flexio_mculcd_type::rxShifterStartIndex |
Start index of shifters used for data read.
flexio_mculcd_pin_func_t _flexio_mculcd_type::setCSPin |
Function to set or clear the CS pin.
flexio_mculcd_pin_func_t _flexio_mculcd_type::setRDWRPin |
Function to set or clear the RD/WR pin, only used in 6800 mode.
flexio_mculcd_pin_func_t _flexio_mculcd_type::setRSPin |
Function to set or clear the RS pin.
volatile uint32_t _flexio_mculcd_handle::state |
FlexIO MCULCD internal state.
uint8_t _flexio_mculcd_type::timerIndex |
Timer index used in FlexIO MCULCD.
uint8_t _flexio_mculcd_type::txShifterEndIndex |
End index of shifters used for data write.
uint8_t _flexio_mculcd_type::txShifterStartIndex |
Start index of shifters used for data write, it must be 0 or 4.
void* _flexio_mculcd_handle::userData |
Callback parameter.