Graphics framework for GR-PEACH. When you use this program, we judge you have agreed to the following contents. https://developer.mbed.org/teams/Renesas/wiki/About-LICENSE
Dependents: ImageZoomInout_Sample ImageRotaion_Sample ImageScroll_Sample GR-PEACH_LCD_4_3inch_Save_to_USB ... more
r_ospl_typedef.h File Reference
OS Porting Layer. More...
Go to the source code of this file.
Typedefs | |
typedef int_fast32_t | errnum_t |
Error number. | |
typedef uint_fast32_t | bit_flags_fast32_t |
Bit flags as "uint_fast32_t". | |
typedef uint32_t | bit_flags32_t |
Bit flags as "uint32_t". | |
typedef uint16_t | bit_flags16_t |
Bit flags as "uint16_t". | |
typedef uint8_t | bit_flags8_t |
Bit flags as "uint8_t". | |
typedef uint8_t | byte_t |
Byte type. | |
typedef int | ssize_t |
Signed size type. | |
typedef struct os_mailQ_cb * | osMailQId |
osMailQId | |
typedef errnum_t(* | r_ospl_callback_t )(const r_ospl_interrupt_t *InterruptSource, const r_ospl_caller_t *Caller) |
The function type of interrupt callback. | |
typedef bit_flags_fast32_t | r_ospl_flush_t |
r_ospl_flush_t | |
typedef int_t | r_ospl_cancel_flag_t |
Bit flags of <r_ospl_cancel_bit_t> | |
Enumerations | |
enum | r_ospl_async_state_t |
Asynchronous State. More... | |
enum | r_ospl_async_type_t |
Asynchronous State. More... | |
enum | r_ospl_if_not_t |
Operation if not exists. More... | |
enum | r_ospl_axi_cache_attribute_t |
Cache attribute on AXI bus. More... | |
enum | r_ospl_axi_protection_t |
Protection on AXI bus. More... |
Detailed Description
OS Porting Layer.
Data types.
- Module:
- OSPL
- PublicVersion:
- 0.90
(=R_OSPL_VERSION)
- Rev:
- 35
- Date:
- 2014-04-15 21:38:18 +0900#
Definition in file r_ospl_typedef.h.
Typedef Documentation
Bit flags as "uint16_t".
Definition at line 93 of file r_ospl_typedef.h.
Bit flags as "uint32_t".
Definition at line 86 of file r_ospl_typedef.h.
Bit flags as "uint8_t".
Definition at line 100 of file r_ospl_typedef.h.
Bit flags as "uint_fast32_t".
Definition at line 79 of file r_ospl_typedef.h.
Byte type.
Definition at line 107 of file r_ospl_typedef.h.
Error number.
Definition at line 72 of file r_ospl_typedef.h.
osMailQId
Definition at line 131 of file r_ospl_typedef.h.
typedef errnum_t(* r_ospl_callback_t)(const r_ospl_interrupt_t *InterruptSource, const r_ospl_caller_t *Caller) |
The function type of interrupt callback.
- Parameters:
-
InterruptSource Source of interrupt Caller Driver's internal parameters about interrupt operations
- Returns:
- Error code. If there is no error, the return value is 0. The value set to "r_ospl_async_t::ReturnValue"
- Description
- This is type of the interrupt callback function running in the interrupt context and called from the interrupt handler.
It is possible to replace to application defined interrupt callback function by setting to "r_ospl_async_t::InterruptCallback". But it is usually not necessary to replace.
As interrupt callback function, the default interrupt callback function provided from the driver is used. It is unusual to use application defined interrupt callback function. Write the response code of the interrupt (event driven code) next to the code calling R_OSPL_EVENT_Wait function
Whether the asynchronous operation was ended is possible to know whether the variable of "r_ospl_async_state_t" type referred from R_DRIVER_GetAsyncStatus function is set to R_OSPL_RUNNABLE value.
It is not necessary to write the code of interrupt return (IRET) in the interrupt callback function. The interrupt handlers calling interrupt callback function calls IRET, if necessary.
It is not possible to divide interrupt callback functions by the kind of interrupt. Alternatively, it is possible to write operations in interrupt handlers calling interrupt callback function in porting layer under the driver. There are interrupt handlers by each interrupt numbers.
It is possible to signal any event from application defined interrupt
- callback function. But it is necessary to do following operations
Definition at line 238 of file r_ospl_typedef.h.
Bit flags of <r_ospl_cancel_bit_t>
Definition at line 724 of file r_ospl_typedef.h.
r_ospl_flush_t
Definition at line 357 of file r_ospl_typedef.h.
Enumeration Type Documentation
enum r_ospl_async_state_t |
Asynchronous State.
- R_OSPL_UNINITIALIZED - 0
- R_OSPL_RUNNABLE - 1, Runnable or Waitable
- R_OSPL_RUNNING - 2, Running or Waiting
- R_OSPL_INTERRUPTING - 3
- R_OSPL_INTERRUPTED - 4
Definition at line 251 of file r_ospl_typedef.h.
enum r_ospl_async_type_t |
Asynchronous State.
- R_OSPL_ASYNC_TYPE_NORMAL - 1
- R_OSPL_ASYNC_TYPE_FINALIZE - 2, Asynchronous finalizing
Definition at line 267 of file r_ospl_typedef.h.
Cache attribute on AXI bus.
- R_OSPL_AXI_CACHE_ZERO - Not AXI
- R_OSPL_AXI_STRONGLY - Strongly order access
- R_OSPL_AXI_DEVICE - DEVICE
- R_OSPL_AXI_UNCACHED - Normal access (Out of order) uncached
- R_OSPL_AXI_WRITE_BACK_W - Write back, allocate on write
- R_OSPL_AXI_WRITE_BACK - Write back, allocate on both read and write
Definition at line 675 of file r_ospl_typedef.h.
Protection on AXI bus.
- R_OSPL_AXI_PROTECTION_ZERO - Not AXI
- R_OSPL_AXI_SECURE - TrustZone secure acccess
- R_OSPL_AXI_NON_SECURE - TrustZone non-secure acccess
Definition at line 693 of file r_ospl_typedef.h.
enum r_ospl_if_not_t |
Operation if not exists.
- R_OSPL_ERROR_IF_NOT - 0
- R_OSPL_ALLOCATE_IF_NOT - 1
- R_OSPL_DO_NOTHING_IF_NOT - 2
Definition at line 609 of file r_ospl_typedef.h.
Generated on Tue Jul 12 2022 11:15:07 by 1.7.2