Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ra_clock.h File Reference

Go to the source code of this file.

Macros

#define RA_PLL_SOURCE_HOCO   0
 
#define RA_PLL_SOURCE_MOCO   1
 
#define RA_PLL_SOURCE_LOCO   2
 
#define RA_PLL_SOURCE_MAIN_OSC   3
 
#define RA_PLL_SOURCE_SUBCLOCK   4
 
#define RA_PLL_SOURCE_DISABLE   0xff
 
#define RA_CLOCK_SOURCE_HOCO   0
 
#define RA_CLOCK_SOURCE_MOCO   1
 
#define RA_CLOCK_SOURCE_LOCO   2
 
#define RA_CLOCK_SOURCE_MAIN_OSC   3
 
#define RA_CLOCK_SOURCE_SUBCLOCK   4
 
#define RA_CLOCK_SOURCE_PLL   5
 
#define RA_CLOCK_SOURCE_PLL1P   RA_CLOCK_SOURCE_PLL
 
#define RA_CLOCK_SOURCE_PLL2   6
 
#define RA_CLOCK_SOURCE_PLL2P   RA_CLOCK_SOURCE_PLL2
 
#define RA_CLOCK_SOURCE_PLL1Q   7
 
#define RA_CLOCK_SOURCE_PLL1R   8
 
#define RA_CLOCK_SOURCE_PLL2Q   9
 
#define RA_CLOCK_SOURCE_PLL2R   10
 
#define RA_CLOCK_SOURCE_DISABLE   0xff
 
#define RA_SYS_CLOCK_DIV_1   0
 
#define RA_SYS_CLOCK_DIV_2   1
 
#define RA_SYS_CLOCK_DIV_4   2
 
#define RA_SYS_CLOCK_DIV_8   3
 
#define RA_SYS_CLOCK_DIV_16   4
 
#define RA_SYS_CLOCK_DIV_32   5
 
#define RA_SYS_CLOCK_DIV_64   6
 
#define RA_SYS_CLOCK_DIV_128   7 /* available for CLKOUT only */
 
#define RA_SYS_CLOCK_DIV_3   8
 
#define RA_SYS_CLOCK_DIV_6   9
 
#define RA_SYS_CLOCK_DIV_12   10
 
#define RA_PLL_DIV_1   0
 
#define RA_PLL_DIV_2   1
 
#define RA_PLL_DIV_3   2
 
#define RA_PLL_DIV_4   3
 
#define RA_PLL_DIV_5   4
 
#define RA_PLL_DIV_6   5
 
#define RA_PLL_DIV_8   7
 
#define RA_PLL_DIV_9   8
 
#define RA_PLL_DIV_16   15
 
#define RA_USB_CLOCK_DIV_1   0
 
#define RA_USB_CLOCK_DIV_2   1
 
#define RA_USB_CLOCK_DIV_3   2
 
#define RA_USB_CLOCK_DIV_4   3
 
#define RA_USB_CLOCK_DIV_5   4
 
#define RA_USB_CLOCK_DIV_6   5
 
#define RA_USB_CLOCK_DIV_8   7
 
#define RA_USB60_CLOCK_DIV_1   0
 
#define RA_USB60_CLOCK_DIV_2   1
 
#define RA_USB60_CLOCK_DIV_3   5
 
#define RA_USB60_CLOCK_DIV_4   2
 
#define RA_USB60_CLOCK_DIV_5   6
 
#define RA_USB60_CLOCK_DIV_6   3
 
#define RA_USB60_CLOCK_DIV_8   4
 
#define RA_OCTA_CLOCK_DIV_1   0
 
#define RA_OCTA_CLOCK_DIV_2   1
 
#define RA_OCTA_CLOCK_DIV_4   2
 
#define RA_OCTA_CLOCK_DIV_6   3
 
#define RA_OCTA_CLOCK_DIV_8   4
 
#define RA_CANFD_CLOCK_DIV_1   0
 
#define RA_CANFD_CLOCK_DIV_2   1
 
#define RA_CANFD_CLOCK_DIV_3   5
 
#define RA_CANFD_CLOCK_DIV_4   2
 
#define RA_CANFD_CLOCK_DIV_5   6
 
#define RA_CANFD_CLOCK_DIV_6   3
 
#define RA_CANFD_CLOCK_DIV_8   4
 
#define RA_SCI_CLOCK_DIV_1   0
 
#define RA_SCI_CLOCK_DIV_2   1
 
#define RA_SCI_CLOCK_DIV_3   5
 
#define RA_SCI_CLOCK_DIV_4   2
 
#define RA_SCI_CLOCK_DIV_5   6
 
#define RA_SCI_CLOCK_DIV_6   3
 
#define RA_SCI_CLOCK_DIV_8   4
 
#define RA_SPI_CLOCK_DIV_1   0
 
#define RA_SPI_CLOCK_DIV_2   1
 
#define RA_SPI_CLOCK_DIV_3   5
 
#define RA_SPI_CLOCK_DIV_4   2
 
#define RA_SPI_CLOCK_DIV_5   6
 
#define RA_SPI_CLOCK_DIV_6   3
 
#define RA_SPI_CLOCK_DIV_8   4
 
#define RA_CEC_CLOCK_DIV_1   0
 
#define RA_CEC_CLOCK_DIV_2   1
 
#define RA_I3C_CLOCK_DIV_1   0
 
#define RA_I3C_CLOCK_DIV_2   1
 
#define RA_I3C_CLOCK_DIV_3   5
 
#define RA_I3C_CLOCK_DIV_4   2
 
#define RA_I3C_CLOCK_DIV_5   6
 
#define RA_I3C_CLOCK_DIV_6   3
 
#define RA_I3C_CLOCK_DIV_8   4
 
#define RA_LCD_CLOCK_DIV_1   0
 
#define RA_LCD_CLOCK_DIV_2   1
 
#define RA_LCD_CLOCK_DIV_3   5
 
#define RA_LCD_CLOCK_DIV_4   2
 
#define RA_LCD_CLOCK_DIV_5   6
 
#define RA_LCD_CLOCK_DIV_6   3
 
#define RA_LCD_CLOCK_DIV_8   4
 
#define RA_SDADC_CLOCK_DIV_1   0
 
#define RA_SDADC_CLOCK_DIV_2   1
 
#define RA_SDADC_CLOCK_DIV_3   2
 
#define RA_SDADC_CLOCK_DIV_4   3
 
#define RA_SDADC_CLOCK_DIV_5   4
 
#define RA_SDADC_CLOCK_DIV_6   5
 
#define RA_SDADC_CLOCK_DIV_8   6
 
#define RA_SDADC_CLOCK_DIV_12   7
 
#define RA_SDADC_CLOCK_DIV_16   8
 
#define MSTPA   0
 
#define MSTPB   1
 
#define MSTPC   2
 
#define MSTPD   3
 
#define MSTPE   4
 

Macro Definition Documentation

◆ MSTPA

#define MSTPA   0

◆ MSTPB

#define MSTPB   1

◆ MSTPC

#define MSTPC   2

◆ MSTPD

#define MSTPD   3

◆ MSTPE

#define MSTPE   4

◆ RA_CANFD_CLOCK_DIV_1

#define RA_CANFD_CLOCK_DIV_1   0

◆ RA_CANFD_CLOCK_DIV_2

#define RA_CANFD_CLOCK_DIV_2   1

◆ RA_CANFD_CLOCK_DIV_3

#define RA_CANFD_CLOCK_DIV_3   5

◆ RA_CANFD_CLOCK_DIV_4

#define RA_CANFD_CLOCK_DIV_4   2

◆ RA_CANFD_CLOCK_DIV_5

#define RA_CANFD_CLOCK_DIV_5   6

◆ RA_CANFD_CLOCK_DIV_6

#define RA_CANFD_CLOCK_DIV_6   3

◆ RA_CANFD_CLOCK_DIV_8

#define RA_CANFD_CLOCK_DIV_8   4

◆ RA_CEC_CLOCK_DIV_1

#define RA_CEC_CLOCK_DIV_1   0

◆ RA_CEC_CLOCK_DIV_2

#define RA_CEC_CLOCK_DIV_2   1

◆ RA_CLOCK_SOURCE_DISABLE

#define RA_CLOCK_SOURCE_DISABLE   0xff

◆ RA_CLOCK_SOURCE_HOCO

#define RA_CLOCK_SOURCE_HOCO   0

◆ RA_CLOCK_SOURCE_LOCO

#define RA_CLOCK_SOURCE_LOCO   2

◆ RA_CLOCK_SOURCE_MAIN_OSC

#define RA_CLOCK_SOURCE_MAIN_OSC   3

◆ RA_CLOCK_SOURCE_MOCO

#define RA_CLOCK_SOURCE_MOCO   1

◆ RA_CLOCK_SOURCE_PLL

#define RA_CLOCK_SOURCE_PLL   5

◆ RA_CLOCK_SOURCE_PLL1P

#define RA_CLOCK_SOURCE_PLL1P   RA_CLOCK_SOURCE_PLL

◆ RA_CLOCK_SOURCE_PLL1Q

#define RA_CLOCK_SOURCE_PLL1Q   7

◆ RA_CLOCK_SOURCE_PLL1R

#define RA_CLOCK_SOURCE_PLL1R   8

◆ RA_CLOCK_SOURCE_PLL2

#define RA_CLOCK_SOURCE_PLL2   6

◆ RA_CLOCK_SOURCE_PLL2P

#define RA_CLOCK_SOURCE_PLL2P   RA_CLOCK_SOURCE_PLL2

◆ RA_CLOCK_SOURCE_PLL2Q

#define RA_CLOCK_SOURCE_PLL2Q   9

◆ RA_CLOCK_SOURCE_PLL2R

#define RA_CLOCK_SOURCE_PLL2R   10

◆ RA_CLOCK_SOURCE_SUBCLOCK

#define RA_CLOCK_SOURCE_SUBCLOCK   4

◆ RA_I3C_CLOCK_DIV_1

#define RA_I3C_CLOCK_DIV_1   0

◆ RA_I3C_CLOCK_DIV_2

#define RA_I3C_CLOCK_DIV_2   1

◆ RA_I3C_CLOCK_DIV_3

#define RA_I3C_CLOCK_DIV_3   5

◆ RA_I3C_CLOCK_DIV_4

#define RA_I3C_CLOCK_DIV_4   2

◆ RA_I3C_CLOCK_DIV_5

#define RA_I3C_CLOCK_DIV_5   6

◆ RA_I3C_CLOCK_DIV_6

#define RA_I3C_CLOCK_DIV_6   3

◆ RA_I3C_CLOCK_DIV_8

#define RA_I3C_CLOCK_DIV_8   4

◆ RA_LCD_CLOCK_DIV_1

#define RA_LCD_CLOCK_DIV_1   0

◆ RA_LCD_CLOCK_DIV_2

#define RA_LCD_CLOCK_DIV_2   1

◆ RA_LCD_CLOCK_DIV_3

#define RA_LCD_CLOCK_DIV_3   5

◆ RA_LCD_CLOCK_DIV_4

#define RA_LCD_CLOCK_DIV_4   2

◆ RA_LCD_CLOCK_DIV_5

#define RA_LCD_CLOCK_DIV_5   6

◆ RA_LCD_CLOCK_DIV_6

#define RA_LCD_CLOCK_DIV_6   3

◆ RA_LCD_CLOCK_DIV_8

#define RA_LCD_CLOCK_DIV_8   4

◆ RA_OCTA_CLOCK_DIV_1

#define RA_OCTA_CLOCK_DIV_1   0

◆ RA_OCTA_CLOCK_DIV_2

#define RA_OCTA_CLOCK_DIV_2   1

◆ RA_OCTA_CLOCK_DIV_4

#define RA_OCTA_CLOCK_DIV_4   2

◆ RA_OCTA_CLOCK_DIV_6

#define RA_OCTA_CLOCK_DIV_6   3

◆ RA_OCTA_CLOCK_DIV_8

#define RA_OCTA_CLOCK_DIV_8   4

◆ RA_PLL_DIV_1

#define RA_PLL_DIV_1   0

◆ RA_PLL_DIV_16

#define RA_PLL_DIV_16   15

◆ RA_PLL_DIV_2

#define RA_PLL_DIV_2   1

◆ RA_PLL_DIV_3

#define RA_PLL_DIV_3   2

◆ RA_PLL_DIV_4

#define RA_PLL_DIV_4   3

◆ RA_PLL_DIV_5

#define RA_PLL_DIV_5   4

◆ RA_PLL_DIV_6

#define RA_PLL_DIV_6   5

◆ RA_PLL_DIV_8

#define RA_PLL_DIV_8   7

◆ RA_PLL_DIV_9

#define RA_PLL_DIV_9   8

◆ RA_PLL_SOURCE_DISABLE

#define RA_PLL_SOURCE_DISABLE   0xff

◆ RA_PLL_SOURCE_HOCO

#define RA_PLL_SOURCE_HOCO   0

◆ RA_PLL_SOURCE_LOCO

#define RA_PLL_SOURCE_LOCO   2

◆ RA_PLL_SOURCE_MAIN_OSC

#define RA_PLL_SOURCE_MAIN_OSC   3

◆ RA_PLL_SOURCE_MOCO

#define RA_PLL_SOURCE_MOCO   1

◆ RA_PLL_SOURCE_SUBCLOCK

#define RA_PLL_SOURCE_SUBCLOCK   4

◆ RA_SCI_CLOCK_DIV_1

#define RA_SCI_CLOCK_DIV_1   0

◆ RA_SCI_CLOCK_DIV_2

#define RA_SCI_CLOCK_DIV_2   1

◆ RA_SCI_CLOCK_DIV_3

#define RA_SCI_CLOCK_DIV_3   5

◆ RA_SCI_CLOCK_DIV_4

#define RA_SCI_CLOCK_DIV_4   2

◆ RA_SCI_CLOCK_DIV_5

#define RA_SCI_CLOCK_DIV_5   6

◆ RA_SCI_CLOCK_DIV_6

#define RA_SCI_CLOCK_DIV_6   3

◆ RA_SCI_CLOCK_DIV_8

#define RA_SCI_CLOCK_DIV_8   4

◆ RA_SDADC_CLOCK_DIV_1

#define RA_SDADC_CLOCK_DIV_1   0

◆ RA_SDADC_CLOCK_DIV_12

#define RA_SDADC_CLOCK_DIV_12   7

◆ RA_SDADC_CLOCK_DIV_16

#define RA_SDADC_CLOCK_DIV_16   8

◆ RA_SDADC_CLOCK_DIV_2

#define RA_SDADC_CLOCK_DIV_2   1

◆ RA_SDADC_CLOCK_DIV_3

#define RA_SDADC_CLOCK_DIV_3   2

◆ RA_SDADC_CLOCK_DIV_4

#define RA_SDADC_CLOCK_DIV_4   3

◆ RA_SDADC_CLOCK_DIV_5

#define RA_SDADC_CLOCK_DIV_5   4

◆ RA_SDADC_CLOCK_DIV_6

#define RA_SDADC_CLOCK_DIV_6   5

◆ RA_SDADC_CLOCK_DIV_8

#define RA_SDADC_CLOCK_DIV_8   6

◆ RA_SPI_CLOCK_DIV_1

#define RA_SPI_CLOCK_DIV_1   0

◆ RA_SPI_CLOCK_DIV_2

#define RA_SPI_CLOCK_DIV_2   1

◆ RA_SPI_CLOCK_DIV_3

#define RA_SPI_CLOCK_DIV_3   5

◆ RA_SPI_CLOCK_DIV_4

#define RA_SPI_CLOCK_DIV_4   2

◆ RA_SPI_CLOCK_DIV_5

#define RA_SPI_CLOCK_DIV_5   6

◆ RA_SPI_CLOCK_DIV_6

#define RA_SPI_CLOCK_DIV_6   3

◆ RA_SPI_CLOCK_DIV_8

#define RA_SPI_CLOCK_DIV_8   4

◆ RA_SYS_CLOCK_DIV_1

#define RA_SYS_CLOCK_DIV_1   0

◆ RA_SYS_CLOCK_DIV_12

#define RA_SYS_CLOCK_DIV_12   10

◆ RA_SYS_CLOCK_DIV_128

#define RA_SYS_CLOCK_DIV_128   7 /* available for CLKOUT only */

◆ RA_SYS_CLOCK_DIV_16

#define RA_SYS_CLOCK_DIV_16   4

◆ RA_SYS_CLOCK_DIV_2

#define RA_SYS_CLOCK_DIV_2   1

◆ RA_SYS_CLOCK_DIV_3

#define RA_SYS_CLOCK_DIV_3   8

◆ RA_SYS_CLOCK_DIV_32

#define RA_SYS_CLOCK_DIV_32   5

◆ RA_SYS_CLOCK_DIV_4

#define RA_SYS_CLOCK_DIV_4   2

◆ RA_SYS_CLOCK_DIV_6

#define RA_SYS_CLOCK_DIV_6   9

◆ RA_SYS_CLOCK_DIV_64

#define RA_SYS_CLOCK_DIV_64   6

◆ RA_SYS_CLOCK_DIV_8

#define RA_SYS_CLOCK_DIV_8   3

◆ RA_USB60_CLOCK_DIV_1

#define RA_USB60_CLOCK_DIV_1   0

◆ RA_USB60_CLOCK_DIV_2

#define RA_USB60_CLOCK_DIV_2   1

◆ RA_USB60_CLOCK_DIV_3

#define RA_USB60_CLOCK_DIV_3   5

◆ RA_USB60_CLOCK_DIV_4

#define RA_USB60_CLOCK_DIV_4   2

◆ RA_USB60_CLOCK_DIV_5

#define RA_USB60_CLOCK_DIV_5   6

◆ RA_USB60_CLOCK_DIV_6

#define RA_USB60_CLOCK_DIV_6   3

◆ RA_USB60_CLOCK_DIV_8

#define RA_USB60_CLOCK_DIV_8   4

◆ RA_USB_CLOCK_DIV_1

#define RA_USB_CLOCK_DIV_1   0

◆ RA_USB_CLOCK_DIV_2

#define RA_USB_CLOCK_DIV_2   1

◆ RA_USB_CLOCK_DIV_3

#define RA_USB_CLOCK_DIV_3   2

◆ RA_USB_CLOCK_DIV_4

#define RA_USB_CLOCK_DIV_4   3

◆ RA_USB_CLOCK_DIV_5

#define RA_USB_CLOCK_DIV_5   4

◆ RA_USB_CLOCK_DIV_6

#define RA_USB_CLOCK_DIV_6   5

◆ RA_USB_CLOCK_DIV_8

#define RA_USB_CLOCK_DIV_8   7