mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 13:27:01 +08:00
boardctl.h: Extended boardctl() commands with BOARDIOC_CAN_INITIALIZE
This commit is contained in:
@@ -94,6 +94,12 @@
|
||||
* CONFIGURATION: CONFIG_LIB_BOARDCTL && CONFIG_BOARDCTL_PWMTEST
|
||||
* DEPENDENCIES: Board logic must provide board_pwm_setup()
|
||||
*
|
||||
* CMD: BOARDIOC_CAN_INITIALIZE
|
||||
* DESCRIPTION: CAN device initialization
|
||||
* ARG: None
|
||||
* CONFIGURATION: CONFIG_LIB_BOARDCTL && CONFIG_BOARDCTL_CANINIT
|
||||
* DEPENDENCIES: Board logic must provide board_can_initialize()
|
||||
*
|
||||
* CMD: BOARDIOC_GRAPHICS_SETUP
|
||||
* DESCRIPTION: Configure graphics that require special initialization
|
||||
* procedures
|
||||
@@ -109,7 +115,8 @@
|
||||
#define BOARDIOC_TSCTEST_TEARDOWN _BOARDIOC(0x0005)
|
||||
#define BOARDIOC_ADCTEST_SETUP _BOARDIOC(0x0006)
|
||||
#define BOARDIOC_PWMTEST_SETUP _BOARDIOC(0x0007)
|
||||
#define BOARDIOC_GRAPHICS_SETUP _BOARDIOC(0x0008)
|
||||
#define BOARDIOC_CAN_INITIALIZE _BOARDIOC(0x0008)
|
||||
#define BOARDIOC_GRAPHICS_SETUP _BOARDIOC(0x0009)
|
||||
|
||||
/* If CONFIG_BOARDCTL_IOCTL=y, then boad-specific commands will be support.
|
||||
* In this case, all commands not recognized by boardctl() will be forwarded
|
||||
@@ -118,7 +125,7 @@
|
||||
* User defined board commands may begin with this value:
|
||||
*/
|
||||
|
||||
#define BOARDIOC_USER _BOARDIOC(0x0009)
|
||||
#define BOARDIOC_USER _BOARDIOC(0x000a)
|
||||
|
||||
/****************************************************************************
|
||||
* Public Type Definitions
|
||||
|
||||
Reference in New Issue
Block a user