<commit_before>#pragma once
//=====================================================================//
/*!	@file
	@brief	RX600 グループ　GLCDC　I/O 制御
    @author 平松邦仁 (<EMAIL>)
	@copyright	Copyright (C) 2018 <NAME> @n
				Released under the MIT license @n
				https://github.com/hirakuni45/RX/blob/master/LICENSE
*/
//=====================================================================//
#include "RX65x/glcdc.hpp"
#include "common/delay.hpp"
#include "glcdc_def.hpp"

#define BITS_PER_PIXEL 16  // Allowed values: 1, 4, 8, 16, 32

namespace device {

	//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++//
	/*!
		@brief  GLCDC I/O 制御
		@param[in]	GLC		glcdc クラス
	*/
	//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++//
	template <class GLC>
	class glcdc_io {

		static const uint32_t XSIZE_PHYS = 480;		///< Physical display size by X
		static const uint32_t YSIZE_PHYS = 272;		///< Physical display size by Y

#if (BITS_PER_PIXEL == 16)
		static constexpr uint32_t BufferPTR[] = {
			0x00010000,  // Begin of On-Chip RAM<commit_msg>update: LCD manage for RX65N<commit_after>#pragma once
//=====================================================================//
/*!	@file
	@brief	RX600 グループ　GLCDC　I/O 制御
    @author 平松邦仁 (<EMAIL>)
	@copyright	Copyright (C) 2018 <NAME> @n
				Released under the MIT license @n
				https://github.com/hirakuni45/RX/blob/master/LICENSE
*/
//=====================================================================//
#include "RX65x/glcdc.hpp"
#include "common/delay.hpp"
#include "glcdc_def.hpp"
#include "common/dmac_man.hpp"

#define BITS_PER_PIXEL 16  // Allowed values: 1, 4, 8, 16, 32

namespace device {

	//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++//
	/*!
		@brief  GLCDC I/O 制御
		@param[in]	GLC		glcdc クラス
	*/
	//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++//
	template <class GLC>
	class glcdc_io {

		static const uint32_t XSIZE_PHYS = 480;		///< Physical display size by X
		static const uint32_t YSIZE_PHYS = 272;		///< Physical display size by Y

#if (BITS_PER_PIXEL == 16)
		static constexpr uint32_t BufferPTR[] = {
			0x00010000,  // Begin of On-Chip RAM
{'fraction_non_alphanumeric': 0.3552511415525114, 'fraction_numerical': 0.04018264840182648, 'mean_word_length': 4.4638403990024935, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3781212', 'n_tokens_mistral': 890, 'n_tokens_neox': 736, 'n_words': 181}