RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Data Structures | Macros
k210.h File Reference

k210 RISC-V CPU defines. More...

#include <bspopts.h>
#include <stdint.h>
#include <bsp/utility.h>

Go to the source code of this file.

Data Structures

struct  k210_sysctl_t
 

Macros

#define K210_SYSCTL_BASE   0x50440000
 
#define PLL_CLK_R(n)   (n & 0x00000F)
 
#define PLL_CLK_F(n)   ((n & 0x0003F0) >> 4)
 
#define PLL_CLK_OD(n)   ((n & 0x003C00) >> 10)
 
#define CLKSEL0_ACLK_SEL(n)   (n & 0x00000001)
 

Detailed Description

k210 RISC-V CPU defines.