计数器模式控制寄存器;
串行模式控制寄存器;
在Linux程序中使用SPU需要使用一部分内核代码,因为控制寄存器只能从PPE中使用特权模式进行访问。
Some kernel code is needed to use the SPUs from a Linux application, since the controlling registers are only accessible from the PPE in privileged mode.
软件上,通过设置相应寄存器的控制位,可以使单片机在不同的低功耗模式下工作。
For software, we can have the microprocessor to work with different low power modes by setting the controller bit of the corresponding register.
当设置好这些数据结构,代码段以及系统寄存器之后,可以通过设置控制寄存器CR0的PE位(第0位)为1来进入保护模式。
With these data structures, code modules, and system registers initialized, the processor can be switched to protected mode by loading control register CR0 with a value that sets the PE flag (bit 0).
通过设置812IE寄存器、初始化CAN控制器并将其置为复位模式、配置控制器寄存器并置为正常工作模式等,可实现CAN通讯。
After configuring IE register in AduC812, initializing CAN Contrloller and configuring it into normal modes etc, The communication on CAN Bus began.
通过设置812IE寄存器、初始化CAN控制器并将其置为复位模式、配置控制器寄存器并置为正常工作模式等,可实现CAN通讯。
After configuring IE register in AduC812, initializing CAN Contrloller and configuring it into normal modes etc, The communication on CAN Bus began.
应用推荐