Home
last modified time | relevance | path

Searched refs:CORET (Results 1 – 15 of 15) sorted by relevance

/AliOS-Things-master/components/csi/csi2/include/core/
A Dcore_rv32.h387 #define CORET ((CORET_Type *) CORET_BASE ) /*!< SysTick configuration st… macro
666 if (CORET->MTIMECMPLO || CORET->MTIMECMPHI) { in csi_coret_config()
667 CORET->MTIMECMPLO = CORET->MTIMECMPLO + ticks; in csi_coret_config()
669 CORET->MTIMECMPLO = CORET->MTIMELO + ticks; in csi_coret_config()
670 CORET->MTIMECMPHI = CORET->MTIMEHI; in csi_coret_config()
672 if (CORET->MTIMECMPLO < ticks) { in csi_coret_config()
673 CORET->MTIMECMPHI++; in csi_coret_config()
685 return CORET->MTIMECMPLO; in csi_coret_get_load()
694 return CORET->MTIMECMPHI; in csi_coret_get_loadh()
703 return CORET->MTIMELO; in csi_coret_get_value()
[all …]
A Dcore_801.h529 #define CORET ((CORET_Type *) CORET_BASE ) /*!< SysTick configuration st… macro
786 CORET->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */ in csi_coret_config()
787CORET->VAL = 0UL; /* Load the CORET Counter Value … in csi_coret_config()
788 CORET->CTRL = CORET_CTRL_CLKSOURCE_Msk | in csi_coret_config()
800 return CORET->LOAD; in csi_coret_get_load()
809 return CORET->VAL; in csi_coret_get_value()
817 CORET->CTRL; in csi_coret_clear_irq()
A Dcore_rv32_old.h466 #define CORET ((CORET_Type *) CORET_BASE ) /*!< SysTick configuration st… macro
728 CORET->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */ in csi_coret_config()
729CORET->VAL = 0UL; /* Load the CORET Counter Valu… in csi_coret_config()
730 CORET->CTRL = CORET_CTRL_CLKSOURCE_Msk | in csi_coret_config()
742 return CORET->LOAD; in csi_coret_get_load()
751 return CORET->VAL; in csi_coret_get_value()
A Dcore_802.h637 #define CORET ((CORET_Type *) CORET_BASE ) /*!< SysTick configuration st… macro
931 CORET->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */ in csi_coret_config()
932CORET->VAL = 0UL; /* Load the CORET Counter Valu… in csi_coret_config()
933 CORET->CTRL = CORET_CTRL_CLKSOURCE_Msk | in csi_coret_config()
945 return CORET->LOAD; in csi_coret_get_load()
954 return CORET->VAL; in csi_coret_get_value()
962 CORET->CTRL; in csi_coret_clear_irq()
A Dcore_803.h655 #define CORET ((CORET_Type *) CORET_BASE ) /*!< SysTick configuration st… macro
950 CORET->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */ in csi_coret_config()
951CORET->VAL = 0UL; /* Load the CORET Counter Valu… in csi_coret_config()
952 CORET->CTRL = CORET_CTRL_CLKSOURCE_Msk | in csi_coret_config()
964 return CORET->LOAD; in csi_coret_get_load()
973 return CORET->VAL; in csi_coret_get_value()
981 CORET->CTRL; in csi_coret_clear_irq()
A Dcore_804.h658 #define CORET ((CORET_Type *) CORET_BASE ) /*!< SysTick configuration st… macro
953 CORET->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */ in csi_coret_config()
954CORET->VAL = 0UL; /* Load the CORET Counter Valu… in csi_coret_config()
955 CORET->CTRL = CORET_CTRL_CLKSOURCE_Msk | in csi_coret_config()
967 return CORET->LOAD; in csi_coret_get_load()
976 return CORET->VAL; in csi_coret_get_value()
984 CORET->CTRL; in csi_coret_clear_irq()
A Dcore_805.h652 #define CORET ((CORET_Type *) CORET_BASE ) /*!< SysTick configuration st… macro
947 CORET->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */ in csi_coret_config()
948CORET->VAL = 0UL; /* Load the CORET Counter Valu… in csi_coret_config()
949 CORET->CTRL = CORET_CTRL_CLKSOURCE_Msk | in csi_coret_config()
961 return CORET->LOAD; in csi_coret_get_load()
970 return CORET->VAL; in csi_coret_get_value()
978 CORET->CTRL; in csi_coret_clear_irq()
/AliOS-Things-master/hardware/board/c906/csi_core/include/
A Dcore_rv64.h373 #define CORET ((CORET_Type *) CORET_BASE ) /*!< SysTick configuration st… macro
631 uint64_t value = (((uint64_t)CORET->MTIMECMPH0) << 32) + (uint64_t)CORET->MTIMECMPL0; in csi_coret_config()
634 CORET->MTIMECMPH0 = (uint32_t)(value >> 32); in csi_coret_config()
635 CORET->MTIMECMPL0 = (uint32_t)value; in csi_coret_config()
645 uint64_t value = (((uint64_t)CORET->MTIMECMPH0) << 32) + (uint64_t)CORET->MTIMECMPL0; in csi_coret_get_load()
655 uint64_t value = (((uint64_t)CORET->MTIMECMPH0) << 32) + (uint64_t)CORET->MTIMECMPL0; in csi_coret_get_loadh()
/AliOS-Things-master/components/csi/csi1/include/core/
A Dcore_rv32.h384 #define CORET ((CORET_Type *) CORET_BASE ) /*!< SysTick configuration st… macro
644 CORET->MTIMECMP = CORET->MTIME + ticks; in csi_coret_config()
654 return CORET->MTIMECMP & 0xFFFFFFFF; in csi_coret_get_load()
663 return (CORET->MTIMECMP >> 32) & 0xFFFFFFFF; in csi_coret_get_loadh()
672 return CORET->MTIME & 0xFFFFFFFF; in csi_coret_get_value()
681 return (CORET->MTIME >> 32) & 0xFFFFFFFF; in csi_coret_get_valueh()
A Dcore_rv32_old.h466 #define CORET ((CORET_Type *) CORET_BASE ) /*!< SysTick configuration st… macro
728 CORET->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */ in csi_coret_config()
729CORET->VAL = 0UL; /* Load the CORET Counter Valu… in csi_coret_config()
730 CORET->CTRL = CORET_CTRL_CLKSOURCE_Msk | in csi_coret_config()
742 return CORET->LOAD; in csi_coret_get_load()
751 return CORET->VAL; in csi_coret_get_value()
A Dcore_801.h530 #define CORET ((CORET_Type *) CORET_BASE ) /*!< SysTick configuration st… macro
789 CORET->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */ in csi_coret_config()
790CORET->VAL = 0UL; /* Load the CORET Counter Value … in csi_coret_config()
791 CORET->CTRL = CORET_CTRL_CLKSOURCE_Msk | in csi_coret_config()
803 return CORET->LOAD; in csi_coret_get_load()
812 return CORET->VAL; in csi_coret_get_value()
A Dcore_802.h638 #define CORET ((CORET_Type *) CORET_BASE ) /*!< SysTick configuration st… macro
925 CORET->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */ in csi_coret_config()
926CORET->VAL = 0UL; /* Load the CORET Counter Valu… in csi_coret_config()
927 CORET->CTRL = CORET_CTRL_CLKSOURCE_Msk | in csi_coret_config()
939 return CORET->LOAD; in csi_coret_get_load()
948 return CORET->VAL; in csi_coret_get_value()
A Dcore_805.h653 #define CORET ((CORET_Type *) CORET_BASE ) /*!< SysTick configuration st… macro
938 CORET->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */ in csi_coret_config()
939CORET->VAL = 0UL; /* Load the CORET Counter Valu… in csi_coret_config()
940 CORET->CTRL = CORET_CTRL_CLKSOURCE_Msk | in csi_coret_config()
952 return CORET->LOAD; in csi_coret_get_load()
961 return CORET->VAL; in csi_coret_get_value()
A Dcore_803.h656 #define CORET ((CORET_Type *) CORET_BASE ) /*!< SysTick configuration st… macro
941 CORET->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */ in csi_coret_config()
942CORET->VAL = 0UL; /* Load the CORET Counter Valu… in csi_coret_config()
943 CORET->CTRL = CORET_CTRL_CLKSOURCE_Msk | in csi_coret_config()
955 return CORET->LOAD; in csi_coret_get_load()
964 return CORET->VAL; in csi_coret_get_value()
A Dcore_804.h656 #define CORET ((CORET_Type *) CORET_BASE ) /*!< SysTick configuration st… macro
941 CORET->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */ in csi_coret_config()
942CORET->VAL = 0UL; /* Load the CORET Counter Valu… in csi_coret_config()
943 CORET->CTRL = CORET_CTRL_CLKSOURCE_Msk | in csi_coret_config()
955 return CORET->LOAD; in csi_coret_get_load()
964 return CORET->VAL; in csi_coret_get_value()

Completed in 59 milliseconds