mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
Minor changes while pondering a camera interface
This commit is contained in:
+2
-2
@@ -296,5 +296,5 @@ config FLASH_SIZE
|
|||||||
The size in bytes of the installed boot FLASH. "Boot" FLASH
|
The size in bytes of the installed boot FLASH. "Boot" FLASH
|
||||||
refers to the FLASH that you link program code into.
|
refers to the FLASH that you link program code into.
|
||||||
|
|
||||||
endif
|
endif # BOOT_RUNFROMFLASH && ARCH_HAVE_MMU
|
||||||
endmenu
|
endmenu # Boot Memory Configuration
|
||||||
|
|||||||
@@ -325,4 +325,25 @@
|
|||||||
# define ISI_WPSR_WPVSRC_R2Y_SET1 (8 << ISI_WPSR_WPVSRC_SHIFT) /* Write access in ISI_R2Y_SET1 */
|
# define ISI_WPSR_WPVSRC_R2Y_SET1 (8 << ISI_WPSR_WPVSRC_SHIFT) /* Write access in ISI_R2Y_SET1 */
|
||||||
# define ISI_WPSR_WPVSRC_R2Y_SET2 (9 << ISI_WPSR_WPVSRC_SHIFT) /* Write access in ISI_R2Y_SET2 */
|
# define ISI_WPSR_WPVSRC_R2Y_SET2 (9 << ISI_WPSR_WPVSRC_SHIFT) /* Write access in ISI_R2Y_SET2 */
|
||||||
|
|
||||||
|
/************************************************************************************
|
||||||
|
* Public Types
|
||||||
|
************************************************************************************/
|
||||||
|
/* "The destination frame buffers are defined by a series of Frame Buffer Descriptors
|
||||||
|
* (FBD). Each FBD controls the transfer of one entire frame and then optionally
|
||||||
|
* loads a further FBD to switch the DMA operation at another frame buffer address.
|
||||||
|
*
|
||||||
|
* "The FBD is defined by a series of three words. The first one defines the current
|
||||||
|
* frame buffer address (named DMA_X_ADDR register), the second defines control
|
||||||
|
* information (named DMA_X_CTRL register) and the third defines the next descriptor
|
||||||
|
* address (named DMA_X_DSCR). DMA transfer mode with linked list support is
|
||||||
|
* available for both codec and preview datapath."
|
||||||
|
*/
|
||||||
|
|
||||||
|
struct isi_dscr_s
|
||||||
|
{
|
||||||
|
uint32_t addr; /* Current framebuffer address */
|
||||||
|
uint32_t ctrl; /* Control information */
|
||||||
|
uint32_t dscr; /* Next descriptor address */
|
||||||
|
};
|
||||||
|
|
||||||
#endif /* __ARCH_ARM_SRC_SAMA5_CHIP_SAM_ISI_H */
|
#endif /* __ARCH_ARM_SRC_SAMA5_CHIP_SAM_ISI_H */
|
||||||
|
|||||||
@@ -190,8 +190,6 @@
|
|||||||
|
|
||||||
#define PIO_ISI_D0 (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOA | PIO_PIN16) /* Type: GPIO */
|
#define PIO_ISI_D0 (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOA | PIO_PIN16) /* Type: GPIO */
|
||||||
#define PIO_ISI_D1 (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOA | PIO_PIN17) /* Type: GPIO */
|
#define PIO_ISI_D1 (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOA | PIO_PIN17) /* Type: GPIO */
|
||||||
#define PIO_ISI_D10 (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOC | PIO_PIN27) /* Type: GPIO */
|
|
||||||
#define PIO_ISI_D11 (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOC | PIO_PIN26) /* Type: GPIO */
|
|
||||||
#define PIO_ISI_D2 (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOA | PIO_PIN18) /* Type: GPIO */
|
#define PIO_ISI_D2 (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOA | PIO_PIN18) /* Type: GPIO */
|
||||||
#define PIO_ISI_D3 (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOA | PIO_PIN19) /* Type: GPIO */
|
#define PIO_ISI_D3 (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOA | PIO_PIN19) /* Type: GPIO */
|
||||||
#define PIO_ISI_D4 (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOA | PIO_PIN20) /* Type: GPIO */
|
#define PIO_ISI_D4 (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOA | PIO_PIN20) /* Type: GPIO */
|
||||||
@@ -200,6 +198,8 @@
|
|||||||
#define PIO_ISI_D7 (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOA | PIO_PIN23) /* Type: GPIO */
|
#define PIO_ISI_D7 (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOA | PIO_PIN23) /* Type: GPIO */
|
||||||
#define PIO_ISI_D8 (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOC | PIO_PIN29) /* Type: GPIO */
|
#define PIO_ISI_D8 (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOC | PIO_PIN29) /* Type: GPIO */
|
||||||
#define PIO_ISI_D9 (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOC | PIO_PIN28) /* Type: GPIO */
|
#define PIO_ISI_D9 (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOC | PIO_PIN28) /* Type: GPIO */
|
||||||
|
#define PIO_ISI_D10 (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOC | PIO_PIN27) /* Type: GPIO */
|
||||||
|
#define PIO_ISI_D11 (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOC | PIO_PIN26) /* Type: GPIO */
|
||||||
#define PIO_ISI_HSYNC (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOA | PIO_PIN31) /* Type: GPIO */
|
#define PIO_ISI_HSYNC (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOA | PIO_PIN31) /* Type: GPIO */
|
||||||
#define PIO_ISI_PCK (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOC | PIO_PIN30) /* Type: GPIO */
|
#define PIO_ISI_PCK (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOC | PIO_PIN30) /* Type: GPIO */
|
||||||
#define PIO_ISI_VSYNC (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOA | PIO_PIN30) /* Type: GPIO */
|
#define PIO_ISI_VSYNC (PIO_PERIPHC | PIO_CFG_DEFAULT | PIO_PORT_PIOA | PIO_PIN30) /* Type: GPIO */
|
||||||
|
|||||||
Reference in New Issue
Block a user